Last active
          August 29, 2015 14:07 
        
      - 
      
 - 
        
Save chrisbolin/9b12d37215857c9c54e6 to your computer and use it in GitHub Desktop.  
    Stupid Simple Angular Boilerplate
  
        
  
    
      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
    
  
  
    
  | "use strict"; | |
| angular | |
| .module('app', []) | |
| .controller('HomeController', HomeController); | |
| function HomeController ($scope) { | |
| $scope.hello = "oh, hi" | |
| } | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>page title</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular.min.js"></script> | |
| <script src="app.js"></script> | |
| </head> | |
| <body ng-app="app"> | |
| <div ng-controller="HomeController"> | |
| {{hello}} | |
| </div> | |
| </body> | |
| </html> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment