Adding $http service

dynamicNavController