Fixed the $routeProvider and ui.bootstrap errors

Previously, $routeProvider only worked when I had the <base> tag in the
index file, but now I have taken it out and made the navigation work.

ui.bootstrap in the module would also give an error due to angular not
being able to find it. I have fixed this problem so it shouldn't throw
any errors now.