Some extra functionality for angular-router