title: How to restrict the user to access only few pages using angular 2
body: <p>Here suppose i have 10 pages but i want to restrict some users to access only 3 to 4 pages among 10 pages. How can i achieve this using angularjs 2. Please help me with a sample application with static data. Thanks .. </p>