angularjs - Angular routes and views and controllers -
I am trying to create a very simple app with routes and ideas, which clicked a click "button
I have an index.html file with a ng-view with a test html. This view is going to use testCtrl.js with a simple model. < P> But when it loads, the scene is called, but there is a problem with the radius, or the controller when I click on a button The test of the word is considered to be "click" but nothing happens.
here index.html
body ng-app = "simtoolbelt" & Gt; & lt; div ng-view & gt; & lt; / div & gt; & lt; script src = "js / modules / angular-route.min.js" & gt; & lt; / script & gt; ; & Lt; script src = "js / controller / testctrl.js">
Comments
Post a Comment