Goal: How to get parameters from url using $routeParams for Single Page Web Application like “http:/MyWebApplication/#/updateTemplate/1”
Introduction: Sometimes we have list of elements. And probably we need to edit some element from this list. After few more research, i create a small example for this approach.
Keys:
$routeParams - allows you to retrieve the current parameters from url
Example:
1. Create route configuration and include templates for “ToDoList” and “UpdateToDoElement”.
2. Create controllers and business logic for getting id from url request.