AngularJS Objects
home
Run
screen_rotation
fullscreen
cloud_download
navigate_next
<!DOCTYPE html> <html lang="en"> <head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script> </head> <body> <div ng-app="" ng-init="myobj={str1:'John',str2:'UK'}" > <p>Hi This is {{myobj.str1 + " From " + myobj.str2}}</p> </div> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script> </head> <body> <div ng-app="" ng-init="myobj={str1:'John',str2:'UK'}" > <p>Hi This is {{myobj.str1 + " From " + myobj.str2}}</p> </div> </body> </html>
Copyrights@tutorialsplane.com