This is the code in my index.html
I have to link you to AngularJS documentation
Angularjs $injector::nomod
which basically says that your module should be defined as:
angular.module('myApp',[]);