implemented angular router and successfully tested it