Skip to content

Instantly share code, notes, and snippets.

@Adamwaheed
Created March 6, 2015 09:22
Show Gist options
  • Save Adamwaheed/458dbf77aa5b872d3425 to your computer and use it in GitHub Desktop.
Save Adamwaheed/458dbf77aa5b872d3425 to your computer and use it in GitHub Desktop.
$http({method: 'post', url:uri+'user/store'}).
success(function(data, status, headers, config) {
$location.path('admin/user/edit/'+data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment