#Creating an Angular.js app from scratch
#don't read this it's probably bad advice
The first and most important thing to do when creating an angular app is to initialize your HTML page as an angular app, otherwise nothing else we do will have any meaningful effect. To do this we simply add ng-app to the base HTML element that we want to be our app. Generally this will be the html tag.
once our page is initialized as an angular app, it's time to actually do some work on the angular app. first we need to create a controller. It's a good idea to keep things modular by building the controller in a separate file. We'll call this exampleController.js. This means that our main javascript file will need to require our controller. Angular wants us to import our controller as a new name since we will be using a view model instead of $scope. General practice is to call "exampleController as exampleCtrl". Now we can hook the controller up to our HTMl document. Angular does this with the ng-controller html attribute. T