added angular-resource and angular-ui-router