Last active
August 29, 2015 14:09
-
-
Save jamlfy/738fd217d7360b4be169 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <head> | |
| <script scr="angular.js"></script> | |
| <script scr="ngroute.js"></script> | |
| <script scr="myApp.js"></script> | |
| <body np-app="myApp" ng-controller="NameController"> | |
| in myApp.js | |
| angular.module('myApp', ['ngRoute']).controller('NameController', ['$scope', function(scope){ | |
| //... this is my controllrer | |
| }]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment