Added Navbar Controller

- Now Navbar can be managed with angular.
- Some improvements on index.php