using silex and angularjs