<!DOCTYPE html> <html ng-app="myApp" xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <div> <input type="text" ng-model="firstName" /> <p>{{firstName}}</p> </div> <script src="Scripts/angular-resource.js"></script> <script src="Scripts/angular-route.js"></script> <script src="Scripts/jquery-1.10.2.js"></script> <script src="Scripts/bootstrap.js"></script> <script src="Scripts/angular.js"></script> <script src="Scripts/myCtrl.js"></script> <script src="Scripts/myApp.js"></script> </body> </html>
var app = angular.module("myApp", []);
app.controller("myCtrl", function ($scope) { $scope.firstName = "olawale"; } );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)