Adapting Angular UI-ROUTER to use it with Symfony