Suppose you are using routes:
// bootstrap myApp.config([\'$routeProvider\', \'$locationProvider\', function ($routeProvider, $locationProvider) { $rout
Here's a great tip that nobody mentioned. In the controller that the function is within, you need to include the location provider:
app.controller('SlideController', ['$scope', '$location',function($scope, $location){ $scope.goNext = function (hash) { $location.path(hash); } ;]); next page