ProgrammerGuide.Net | Step by Step Programmer Guide

How to make AngularJS Compatible with HTML5 ? | AngularJS Tutorial | AngularJS Interview Question | AngularJS Programmer Guide

AngularJS directives are HTML attributes with an ng prefix. You can use data-ng-, instead of ng-, if you want to make your page HTML5 valid.

<div data-ng-app=“” data-ng-init=“firstName=’John'”>

<p>The name is <span data-ng-bind=“firstName”></span></p>


Please click here for related products on Amazon!


Add comment

Want to Check Celebrities News?