Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
To do this, you need another backend to take data from the database.
the meaning is something like this:
- you make a route (for example, using the UI Router) in an angular type:
$stateProvider
.state('profileView', {
url: "/profile/:id",
controller: 'ProfileController'
})
});
getProfile: function(id) {
return $http.get('api/profile/' + id);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question