Finally we will create the AngularJS application, so follow the next steps:
Inside the client/js folder, create a new file called app.js and add the following code:
(function(){ 'use strict'; angular .module('bikesGallery', ['ui.router','lbServices']); })();
Don't worry about the lbServices dependency at this point; later in this chapter we will see how to create this file using the AngularJS SDK tool built with the Loopback framework.
Inside the client/js folder, create a new file called app.config.js and add the following code:
(function(){ 'use strict'; angular .module('bikesGallery') .config(configure) .run(runBlock); configure.$inject = ['$urlRouterProvider', '$httpProvider', '$locationProvider']; function configure($urlRouterProvider, $httpProvider, ...