I have this simple page:
RouteProvider is now in a separate module from the core Angular distribution. See https://docs.angularjs.org/api/ngRoute.
Since it looks like you're using bower, I would do a
bower install angular-route
which will download the requisite .js file and place it in the bower_components directory. Modify the HTML to include this script. Then, the first line line in your application.js file should read:
var betsApp = angular.module('betsApp', ['ngRoute']);
In v1.2+, ngRoute is a separate module and should be loaded independently (and also declared as a dependency of your main module).
<script src='bower_components/angular/angular.js'></script>
<script src='bower_components/angular/angular-route.js'></script>
var betsApp = angular.module('betsApp', ['ngRoute']);
If you are using bower, you can download the ngRoute module with the following command:
bower install angular-route
You have to add angular-route module!
Be sure your Module and ng-app are equals
angular.module('foo', ['ngRoute']);
<html ng-app="foo">