I want to have dynamic action attribute in the form. I have a code
Angular d
You can use jQuery to change the action attribute, as the following example:
$('#formId').attr('action', '/users/'+$scope.user.id);