Can you tell me a way to disable the submit button, which changes to a new state by:
Submit
The butto
in ui-sref you can try and hide url based on codition for example i have this code and it works in urls
and in my controller
$scope.canEdit = function(category){ return category == AuthUser.username ; }
Authuser is a factory in my main page