controller function in angularjs?
问题 I am new to angular js Controller is not working correctly in my code i am trying to run following code <!DOCTYPE html> <html data-ng-app > <head> <title>Using AngularJS Directives and Data binding</title> </head> <body> name <br /> <div data-ng-controller="SimpleController"> <input type="text" data-ng-model="name"/>{{name}} <ul> <li data-ng-repeat="cust in customers | filter:name | orderBy:city"> {{cust.name | uppercase}}-{{cust.city | lowercase}} </li> </ul> </div> <script src= "angular