adding angularJS functionality
added a questions api