Instead of reload/refresh entire application(module) for
application data of a particular route data then recommend is $route service. Which provide a method
called.----reload() which reload only current controller content only. (not
entire app data) so that
instead of this 8 requests done by refresh the page. so that we need only one route should reload of entire page. other controllers not required any refreshes.
then define $route service like below to get only students data.
now i need to call this route only from view(students.html). then
No comments:
Post a Comment