fees currency brbr admissiondate date brbr rollno number div script

Fees currency brbr admissiondate date brbr rollno

This preview shows page 89 - 92 out of 92 pages.

{{fees | currency }} <br/><br/> {{admissiondate | date }} <br/><br/> {{rollno | number }} </div> <script src=""> </script> <script src="- dk.js"></script> <script> var mainApp = angular.module("mainApp", []); 20. INTERNALIZATION
Image of page 89
Angular JS Tutorial 84 mainApp.controller('StudentController', function($scope) { $scope.fees = 100; $scope.admissiondate = new Date(); $scope.rollno = 123.45; }); </script> </body> </html> Output Open the file testAngularJS.htm in a web browser and see the result. Example Using Browser Locale testAngularJS.htm <html> <head> <title>Angular JS Forms</title>
Image of page 90
Angular JS Tutorial 85 </head> <body> <h2>AngularJS Sample Application</h2> <div ng-app="mainApp" ng-controller="StudentController"> {{fees | currency }} <br/><br/> {{admissiondate | date }} <br/><br/> {{rollno | number }} </div> <script src=""> </script> <!-- <script src="- locale_da-dk.js"></script> --> <script> var mainApp = angular.module("mainApp", []); mainApp.controller('StudentController', function($scope) { $scope.fees = 100; $scope.admissiondate = new Date(); $scope.rollno = 123.45; }); </script> </body> </html> Output Open the file testAngularJS.htm in a web browser and see the result.
Image of page 91
Angular JS Tutorial 86
Image of page 92

You've reached the end of your free preview.

Want to read all 92 pages?

  • Spring '17
  • AngularJS

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture