Fixing the HTML file name above does not solve your problem. You still cannot resolve the ng-controller in this line:
You run into several problems here:
- Just because you include a
<script> in ctrl.html, the code does not get automatically called (Try it with an
alert("Hello World"); after registering your controller).
- I am not sure, if you can register a controller after your ng-app is fully loaded and the configuration phase is finished.
I suggest, you re-thing the structure of your files and the procedure to startup your ng-app.
Hope this helps.