Is there a way to have the same controller, but exposes different scope methods/variable for different routes?
I am currently using ui-router and would like to expose different methods/variables for /new, /edit, /delete
Doesn't it make more sense to have the same template but with different controllers?
You can have all routes pointing to the same controller, but in the controller use the $stateParams to determine which method it needs to invoke. Don't think it needs to be any harder than that? Unless I've misunderstood the question.
$stateProvider where I can just specify a method that would invoke a function with all the variables and $scope methods