{"id":2106,"date":"2017-03-16T08:19:51","date_gmt":"2017-03-16T08:19:51","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=2106"},"modified":"2017-03-16T10:01:49","modified_gmt":"2017-03-16T10:01:49","slug":"questionair-app-with-loopback-and-angular","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/03\/16\/questionair-app-with-loopback-and-angular\/","title":{"rendered":"Questionair App with Loopback and Angular"},"content":{"rendered":"<p>Ref: <a href=\"https:\/\/github.com\/hellsan631\/questionair\">https:\/\/github.com\/hellsan631\/questionair<br \/>\n<\/a><a href=\"http:\/\/stackoverflow.com\/questions\/32132324\/n-level-hierarchy-array-angular-js\">http:\/\/stackoverflow.com\/questions\/32132324\/n-level-hierarchy-array-angular-js<\/a><br \/>\nInstallation:<\/p>\n<ol>\n<li>Clone the github: https:\/\/github.com\/hellsan631\/questionair.git\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/node$ git clone https:\/\/github.com\/hellsan631\/questionair.git\r\nCloning into 'questionair'...\r\nremote: Counting objects: 57, done.\r\nremote: Total 57 (delta 0), reused 0 (delta 0), pack-reused 57\r\nUnpacking objects: 100% (57\/57), done.\r\nChecking connectivity... done.<\/pre>\n<p>It&#8217;d create a new dir &#8216;questionair&#8217;.<\/li>\n<li>Go to the dir then install the node packages\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/node$ cd questionair\/\r\nteddy@teddy-K43SJ:~\/Documents\/node\/questionair$ npm install\r\nnpm WARN deprecated showdown@0.3.1: IMPORTANT hotfix\r\nnpm WARN prefer global ycssmin@1.0.1 should be installed with -g\r\n\r\n&gt; questionair@1.0.0 postinstall \/home\/teddy\/Documents\/node\/questionair\r\n&gt; bower install\r\n\r\nbower not-cached    https:\/\/github.com\/angular\/bower-angular.git#~1.4.0\r\nbower resolve       https:\/\/github.com\/angular\/bower-angular.git#~1.4.0\r\nbower not-cached    https:\/\/github.com\/angular\/bower-angular-resource.git#~1.4.0\r\nbower resolve       https:\/\/github.com\/angular\/bower-angular-resource.git#~1.4.0\r\nbower not-cached    https:\/\/github.com\/Dogfalo\/materialize.git#^0.96.1\r\nbower resolve       https:\/\/github.com\/Dogfalo\/materialize.git#^0.96.1\r\nbower download      https:\/\/github.com\/Dogfalo\/materialize\/archive\/v0.96.1.tar.gz\r\nbower download      https:\/\/github.com\/angular\/bower-angular\/archive\/v1.4.14.tar.gz\r\nbower download      https:\/\/github.com\/angular\/bower-angular-resource\/archive\/v1.4.14.tar.gz\r\nbower extract       angular-resource#~1.4.0 archive.tar.gz\r\nbower resolved      https:\/\/github.com\/angular\/bower-angular-resource.git#1.4.14\r\nbower progress      materialize#^0.96.1 received 0.7MB\r\nbower extract       angular#~1.4.0 archive.tar.gz\r\nbower resolved      https:\/\/github.com\/angular\/bower-angular.git#1.4.14\r\nbower progress      materialize#^0.96.1 received 0.9MB\r\nbower progress      materialize#^0.96.1 received 1.3MB\r\nbower progress      materialize#^0.96.1 received 1.8MB\r\nbower progress      materialize#^0.96.1 received 2.6MB\r\nbower progress      materialize#^0.96.1 received 3.8MB\r\nbower progress      materialize#^0.96.1 received 5.0MB\r\nbower progress      materialize#^0.96.1 received 6.3MB\r\nbower progress      materialize#^0.96.1 received 7.4MB\r\nbower progress      materialize#^0.96.1 received 8.7MB\r\nbower progress      materialize#^0.96.1 received 9.8MB\r\nbower progress      materialize#^0.96.1 received 11.0MB\r\nbower progress      materialize#^0.96.1 received 11.9MB\r\nbower progress      materialize#^0.96.1 received 13.1MB\r\nbower progress      materialize#^0.96.1 received 14.1MB\r\nbower progress      materialize#^0.96.1 received 15.2MB\r\nbower progress      materialize#^0.96.1 received 16.4MB\r\nbower progress      materialize#^0.96.1 received 17.4MB\r\nbower progress      materialize#^0.96.1 received 18.3MB\r\nbower progress      materialize#^0.96.1 received 19.3MB\r\nbower progress      materialize#^0.96.1 received 20.3MB\r\nbower progress      materialize#^0.96.1 received 21.3MB\r\nbower extract       materialize#^0.96.1 archive.tar.gz\r\nbower invalid-meta  for:\/tmp\/teddy\/bower\/8480297053d21bdb74dfb8c631a0bb5b-8801-0LYZhj\/bower.json\r\nbower invalid-meta  The \"name\" is recommended to be lowercase, can contain digits, dots, dashes\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field cannot contain font, image, audio, or video files\r\nbower invalid-meta  The \"main\" field has to contain only 1 file per filetype; found multiple .ttf files: [\"font\/material-design-icons\/Material-Design-Icons.ttf\",\"font\/roboto\/Roboto-Bold.ttf\",\"font\/roboto\/Roboto-Light.ttf\",\"font\/roboto\/Roboto-Medium.ttf\",\"font\/roboto\/Roboto-Regular.ttf\",\"font\/roboto\/Roboto-Thin.ttf\"]\r\nbower invalid-meta  The \"main\" field has to contain only 1 file per filetype; found multiple .woff files: [\"font\/material-design-icons\/Material-Design-Icons.woff\",\"font\/roboto\/Roboto-Bold.woff\",\"font\/roboto\/Roboto-Light.woff\",\"font\/roboto\/Roboto-Medium.woff\",\"font\/roboto\/Roboto-Regular.woff\",\"font\/roboto\/Roboto-Thin.woff\"]\r\nbower invalid-meta  The \"main\" field has to contain only 1 file per filetype; found multiple .woff2 files: [\"font\/material-design-icons\/Material-Design-Icons.woff2\",\"font\/roboto\/Roboto-Bold.woff2\",\"font\/roboto\/Roboto-Light.woff2\",\"font\/roboto\/Roboto-Medium.woff2\",\"font\/roboto\/Roboto-Regular.woff2\",\"font\/roboto\/Roboto-Thin.woff2\"]\r\nbower resolved      https:\/\/github.com\/Dogfalo\/materialize.git#0.96.1\r\nbower cached        https:\/\/github.com\/jquery\/jquery-dist.git#3.1.1\r\nbower validate      3.1.1 against https:\/\/github.com\/jquery\/jquery-dist.git#&gt;=2.1.1\r\nbower install       angular-resource#1.4.14\r\nbower install       angular#1.4.14\r\nbower install       materialize#0.96.1\r\nbower install       jquery#3.1.1\r\n\r\nangular-resource#1.4.14 client\/app\/bower_components\/angular-resource\r\n\u2514\u2500\u2500 angular#1.4.14\r\n\r\nangular#1.4.14 client\/app\/bower_components\/angular\r\n\r\nmaterialize#0.96.1 client\/app\/bower_components\/materialize\r\n\u2514\u2500\u2500 jquery#3.1.1\r\n\r\njquery#3.1.1 client\/app\/bower_components\/jquery\r\nquestionair@1.0.0 \/home\/teddy\/Documents\/node\/questionair\r\n\u251c\u2500\u252c compression@1.6.2 \r\n\u2502 \u251c\u2500\u252c accepts@1.3.3 \r\n\u2502 \u2502 \u251c\u2500\u2500 mime-types@2.1.14 \r\n\u2502 \u2502 \u2514\u2500\u2500 negotiator@0.6.1 \r\n\u2502 \u251c\u2500\u2500 bytes@2.3.0 \r\n\u2502 \u251c\u2500\u252c compressible@2.0.9 \r\n\u2502 \u2502 \u2514\u2500\u2500 mime-db@1.26.0 \r\n\u2502 \u251c\u2500\u252c debug@2.2.0 \r\n\u2502 \u2502 \u2514\u2500\u2500 ms@0.7.1 \r\n\u2502 \u251c\u2500\u2500 on-headers@1.0.1 \r\n\u2502 \u2514\u2500\u2500 vary@1.1.0 \r\n\u251c\u2500\u2500 cors@2.8.1 \r\n\u251c\u2500\u252c errorhandler@1.5.0 \r\n\u2502 \u2514\u2500\u2500 escape-html@1.0.3 \r\n\u251c\u2500\u252c jshint@2.9.4 \r\n\u2502 \u251c\u2500\u252c cli@1.0.1 \r\n\u2502 \u2502 \u2514\u2500\u252c glob@7.1.1 \r\n\u2502 \u2502   \u251c\u2500\u2500 fs.realpath@1.0.0 \r\n\u2502 \u2502   \u251c\u2500\u252c inflight@1.0.6 \r\n\u2502 \u2502   \u2502 \u2514\u2500\u2500 wrappy@1.0.2 \r\n\u2502 \u2502   \u251c\u2500\u2500 inherits@2.0.3 \r\n\u2502 \u2502   \u251c\u2500\u2500 once@1.4.0 \r\n\u2502 \u2502   \u2514\u2500\u2500 path-is-absolute@1.0.1 \r\n\u2502 \u251c\u2500\u252c console-browserify@1.1.0 \r\n\u2502 \u2502 \u2514\u2500\u2500 date-now@0.1.4 \r\n\u2502 \u251c\u2500\u2500 exit@0.1.2 \r\n\u2502 \u251c\u2500\u252c htmlparser2@3.8.3 \r\n\u2502 \u2502 \u251c\u2500\u2500 domelementtype@1.3.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 domhandler@2.3.0 \r\n\u2502 \u2502 \u251c\u2500\u252c domutils@1.5.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u252c dom-serializer@0.1.0 \r\n\u2502 \u2502 \u2502   \u2514\u2500\u2500 domelementtype@1.1.3 \r\n\u2502 \u2502 \u251c\u2500\u2500 entities@1.0.0 \r\n\u2502 \u2502 \u2514\u2500\u252c readable-stream@1.1.14 \r\n\u2502 \u2502   \u251c\u2500\u2500 core-util-is@1.0.2 \r\n\u2502 \u2502   \u251c\u2500\u2500 isarray@0.0.1 \r\n\u2502 \u2502   \u2514\u2500\u2500 string_decoder@0.10.31 \r\n\u2502 \u251c\u2500\u2500 lodash@3.7.0 \r\n\u2502 \u251c\u2500\u252c minimatch@3.0.3 \r\n\u2502 \u2502 \u2514\u2500\u252c brace-expansion@1.1.6 \r\n\u2502 \u2502   \u251c\u2500\u2500 balanced-match@0.4.2 \r\n\u2502 \u2502   \u2514\u2500\u2500 concat-map@0.0.1 \r\n\u2502 \u251c\u2500\u2500 shelljs@0.3.0 \r\n\u2502 \u2514\u2500\u2500 strip-json-comments@1.0.4 \r\n\u251c\u2500\u252c loopback@2.38.1 \r\n\u2502 \u251c\u2500\u252c async@2.1.5 \r\n\u2502 \u2502 \u2514\u2500\u2500 lodash@4.17.4 \r\n\u2502 \u251c\u2500\u2500 bcryptjs@2.4.3 \r\n\u2502 \u251c\u2500\u252c body-parser@1.17.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 bytes@2.4.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 content-type@1.0.2 \r\n\u2502 \u2502 \u251c\u2500\u252c debug@2.6.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 ms@0.7.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 http-errors@1.6.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 iconv-lite@0.4.15 \r\n\u2502 \u2502 \u251c\u2500\u252c on-finished@2.3.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 ee-first@1.1.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 qs@6.4.0 \r\n\u2502 \u2502 \u251c\u2500\u252c raw-body@2.2.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 bytes@2.4.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 unpipe@1.0.0 \r\n\u2502 \u2502 \u2514\u2500\u252c type-is@1.6.14 \r\n\u2502 \u2502   \u2514\u2500\u2500 media-typer@0.3.0 \r\n\u2502 \u251c\u2500\u2500 canonical-json@0.0.4 \r\n\u2502 \u251c\u2500\u252c cookie-parser@1.4.3 \r\n\u2502 \u2502 \u251c\u2500\u2500 cookie@0.3.1 \r\n\u2502 \u2502 \u2514\u2500\u2500 cookie-signature@1.0.6 \r\n\u2502 \u251c\u2500\u2500 depd@1.1.0 \r\n\u2502 \u251c\u2500\u2500 ejs@2.5.6 \r\n\u2502 \u251c\u2500\u252c express@4.15.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 array-flatten@1.1.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 content-disposition@0.5.2 \r\n\u2502 \u2502 \u251c\u2500\u252c debug@2.6.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 ms@0.7.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 encodeurl@1.0.1 \r\n\u2502 \u2502 \u251c\u2500\u252c finalhandler@1.0.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u252c debug@2.6.1 \r\n\u2502 \u2502 \u2502   \u2514\u2500\u2500 ms@0.7.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 merge-descriptors@1.0.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 methods@1.1.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 path-to-regexp@0.1.7 \r\n\u2502 \u2502 \u251c\u2500\u252c proxy-addr@1.1.3 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 forwarded@0.1.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 ipaddr.js@1.2.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 range-parser@1.2.0 \r\n\u2502 \u2502 \u251c\u2500\u252c send@0.15.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 debug@2.6.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 destroy@1.0.4 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 mime@1.3.4 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 ms@0.7.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 serve-static@1.12.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 setprototypeof@1.0.3 \r\n\u2502 \u2502 \u251c\u2500\u2500 statuses@1.3.1 \r\n\u2502 \u2502 \u2514\u2500\u2500 utils-merge@1.0.0 \r\n\u2502 \u251c\u2500\u2500 inflection@1.12.0 \r\n\u2502 \u251c\u2500\u2500 isemail@1.2.0 \r\n\u2502 \u251c\u2500\u2500 loopback-connector-remote@1.3.3 \r\n\u2502 \u251c\u2500\u252c loopback-context@1.0.0 \r\n\u2502 \u2502 \u2514\u2500\u252c continuation-local-storage@3.2.0 \r\n\u2502 \u2502   \u251c\u2500\u252c async-listener@0.6.4 \r\n\u2502 \u2502   \u2502 \u251c\u2500\u2500 semver@5.3.0 \r\n\u2502 \u2502   \u2502 \u2514\u2500\u2500 shimmer@1.1.0 \r\n\u2502 \u2502   \u2514\u2500\u252c emitter-listener@1.0.1 \r\n\u2502 \u2502     \u2514\u2500\u2500 shimmer@1.0.0 \r\n\u2502 \u251c\u2500\u252c loopback-phase@1.4.1 \r\n\u2502 \u2502 \u2514\u2500\u2500 async@0.9.2 \r\n\u2502 \u251c\u2500\u252c nodemailer@2.7.2 \r\n\u2502 \u2502 \u251c\u2500\u252c libmime@3.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 libbase64@0.1.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 libqp@1.1.0 \r\n\u2502 \u2502 \u251c\u2500\u252c mailcomposer@4.0.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u252c buildmail@4.0.1 \r\n\u2502 \u2502 \u2502   \u251c\u2500\u2500 addressparser@1.0.1 \r\n\u2502 \u2502 \u2502   \u2514\u2500\u2500 punycode@1.4.1 \r\n\u2502 \u2502 \u251c\u2500\u252c nodemailer-direct-transport@3.3.2 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u252c smtp-connection@2.12.0 \r\n\u2502 \u2502 \u2502   \u2514\u2500\u252c httpntlm@1.6.1 \r\n\u2502 \u2502 \u2502     \u251c\u2500\u2500 httpreq@0.4.23 \r\n\u2502 \u2502 \u2502     \u2514\u2500\u2500 underscore@1.7.0 \r\n\u2502 \u2502 \u251c\u2500\u252c nodemailer-shared@1.1.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 nodemailer-fetch@1.6.0 \r\n\u2502 \u2502 \u251c\u2500\u252c nodemailer-smtp-pool@2.8.2 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 nodemailer-wellknown@0.1.10 \r\n\u2502 \u2502 \u251c\u2500\u2500 nodemailer-smtp-transport@2.7.2 \r\n\u2502 \u2502 \u2514\u2500\u252c socks@1.1.9 \r\n\u2502 \u2502   \u251c\u2500\u2500 ip@1.1.5 \r\n\u2502 \u2502   \u2514\u2500\u2500 smart-buffer@1.1.15 \r\n\u2502 \u251c\u2500\u2500 nodemailer-stub-transport@1.1.0 \r\n\u2502 \u251c\u2500\u2500 stable@0.1.6 \r\n\u2502 \u251c\u2500\u252c strong-globalize@2.8.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 async@1.5.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 esprima@2.7.3 \r\n\u2502 \u2502 \u251c\u2500\u2500 estraverse@4.2.0 \r\n\u2502 \u2502 \u251c\u2500\u252c g11n-pipeline@1.3.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u252c swagger-client@2.1.32 \r\n\u2502 \u2502 \u2502   \u251c\u2500\u2500 btoa@1.1.2 \r\n\u2502 \u2502 \u2502   \u251c\u2500\u2500 cookiejar@2.1.0 \r\n\u2502 \u2502 \u2502   \u251c\u2500\u252c js-yaml@3.8.2 \r\n\u2502 \u2502 \u2502   \u2502 \u2514\u2500\u2500 esprima@3.1.3 \r\n\u2502 \u2502 \u2502   \u251c\u2500\u2500 lodash-compat@3.10.2 \r\n\u2502 \u2502 \u2502   \u2514\u2500\u252c superagent@2.3.0 \r\n\u2502 \u2502 \u2502     \u251c\u2500\u2500 component-emitter@1.2.1 \r\n\u2502 \u2502 \u2502     \u251c\u2500\u252c form-data@1.0.0-rc4 \r\n\u2502 \u2502 \u2502     \u2502 \u2514\u2500\u2500 async@1.5.2 \r\n\u2502 \u2502 \u2502     \u2514\u2500\u2500 formidable@1.1.1 \r\n\u2502 \u2502 \u251c\u2500\u252c htmlparser2@3.9.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 entities@1.1.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u252c readable-stream@2.2.5 \r\n\u2502 \u2502 \u2502   \u251c\u2500\u2500 buffer-shims@1.0.0 \r\n\u2502 \u2502 \u2502   \u251c\u2500\u2500 isarray@1.0.0 \r\n\u2502 \u2502 \u2502   \u2514\u2500\u2500 process-nextick-args@1.0.7 \r\n\u2502 \u2502 \u251c\u2500\u252c md5@2.2.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 charenc@0.0.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 crypt@0.0.2 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 is-buffer@1.1.5 \r\n\u2502 \u2502 \u251c\u2500\u2500 mkdirp@0.5.1 \r\n\u2502 \u2502 \u251c\u2500\u252c mktmpdir@0.1.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 rimraf@2.2.8 \r\n\u2502 \u2502 \u251c\u2500\u2500 optional@0.1.3 \r\n\u2502 \u2502 \u251c\u2500\u252c os-locale@1.4.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u252c lcid@1.0.0 \r\n\u2502 \u2502 \u2502   \u2514\u2500\u2500 invert-kv@1.0.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 posix-getopt@1.2.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 word-count@0.2.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 xtend@4.0.1 \r\n\u2502 \u2502 \u2514\u2500\u252c yamljs@0.2.8 \r\n\u2502 \u2502   \u2514\u2500\u2500 argparse@1.0.9 \r\n\u2502 \u251c\u2500\u252c strong-remoting@2.33.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 eventemitter2@2.2.2 \r\n\u2502 \u2502 \u251c\u2500\u252c jayson@1.2.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c commander@1.3.2 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 keypress@0.1.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 eyes@0.1.8 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c JSONStream@1.0.3 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 jsonparse@1.0.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 lodash@3.6.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 js2xmlparser@1.0.0 \r\n\u2502 \u2502 \u251c\u2500\u252c mux-demux@3.7.9 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 duplex@1.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 json-buffer@2.0.11 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c msgpack-stream@0.0.12 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u252c bops@0.0.6 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 base64-js@0.0.2 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 to-utf8@0.0.1 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 msgpack-js@0.3.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 through@2.3.4 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c stream-combiner@0.0.2 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 duplexer@0.0.4 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 stream-serializer@1.1.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 through@2.3.8 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 xtend@1.0.3 \r\n\u2502 \u2502 \u251c\u2500\u252c request@2.81.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 aws-sign2@0.6.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 aws4@1.6.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 caseless@0.12.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c combined-stream@1.0.5 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 delayed-stream@1.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 extend@3.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 forever-agent@0.6.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c form-data@2.1.2 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 asynckit@0.4.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c har-validator@4.2.1 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u252c ajv@4.11.5 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 co@4.6.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c json-stable-stringify@1.0.1 \r\n\u2502 \u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 jsonify@0.0.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 har-schema@1.0.5 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c hawk@3.1.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 boom@2.10.1 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 cryptiles@2.0.5 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 hoek@2.16.3 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 sntp@1.0.9 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c http-signature@1.1.1 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 assert-plus@0.2.0 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u252c jsprim@1.4.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 assert-plus@1.0.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 extsprintf@1.0.2 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 json-schema@0.2.3 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 verror@1.3.6 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c sshpk@1.11.0 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 asn1@0.2.3 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 assert-plus@1.0.0 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 bcrypt-pbkdf@1.0.1 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u252c dashdash@1.14.1 \r\n\u2502 \u2502 \u2502 \u2502   \u2502 \u2514\u2500\u2500 assert-plus@1.0.0 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 ecc-jsbn@0.1.1 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u252c getpass@0.1.6 \r\n\u2502 \u2502 \u2502 \u2502   \u2502 \u2514\u2500\u2500 assert-plus@1.0.0 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 jodid25519@1.0.2 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 jsbn@0.1.1 \r\n\u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 tweetnacl@0.14.5 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 is-typedarray@1.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 isstream@0.1.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 json-stringify-safe@5.0.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 oauth-sign@0.8.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 performance-now@0.2.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 safe-buffer@5.0.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 stringstream@0.0.5 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 tough-cookie@2.3.2 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 tunnel-agent@0.6.0 \r\n\u2502 \u2502 \u251c\u2500\u252c sse@0.0.6 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 options@0.0.6 \r\n\u2502 \u2502 \u2514\u2500\u252c xml2js@0.4.17 \r\n\u2502 \u2502   \u251c\u2500\u2500 sax@1.2.2 \r\n\u2502 \u2502   \u2514\u2500\u2500 xmlbuilder@4.2.1 \r\n\u2502 \u251c\u2500\u2500 uid2@0.0.3 \r\n\u2502 \u2514\u2500\u252c underscore.string@3.3.4 \r\n\u2502   \u251c\u2500\u2500 sprintf-js@1.0.3 \r\n\u2502   \u2514\u2500\u2500 util-deprecate@1.0.2 \r\n\u251c\u2500\u252c loopback-boot@2.23.0 \r\n\u2502 \u251c\u2500\u2500 async@0.9.2 \r\n\u2502 \u251c\u2500\u2500 commondir@0.0.1 \r\n\u2502 \u251c\u2500\u2500 lodash@3.10.1 \r\n\u2502 \u251c\u2500\u2500 semver@4.3.6 \r\n\u2502 \u2514\u2500\u2500 toposort@0.2.12 \r\n\u251c\u2500\u252c loopback-datasource-juggler@2.54.1 \r\n\u2502 \u251c\u2500\u2500 async@1.0.0 \r\n\u2502 \u251c\u2500\u252c loopback-connector@2.7.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 async@1.5.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 bluebird@3.5.0 \r\n\u2502 \u2502 \u2514\u2500\u252c msgpack5@3.4.1 \r\n\u2502 \u2502   \u2514\u2500\u2500 bl@1.2.0 \r\n\u2502 \u251c\u2500\u2500 qs@3.1.0 \r\n\u2502 \u251c\u2500\u2500 shortid@2.2.8 \r\n\u2502 \u251c\u2500\u2500 traverse@0.6.6 \r\n\u2502 \u2514\u2500\u2500 uuid@3.0.1 \r\n\u251c\u2500\u252c loopback-explorer@1.8.0 \r\n\u2502 \u251c\u2500\u252c debug@1.0.4 \r\n\u2502 \u2502 \u2514\u2500\u2500 ms@0.6.2 \r\n\u2502 \u251c\u2500\u252c express@3.21.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 basic-auth@1.0.4 \r\n\u2502 \u2502 \u251c\u2500\u2500 commander@2.6.0 \r\n\u2502 \u2502 \u251c\u2500\u252c connect@2.30.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 basic-auth-connect@1.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c body-parser@1.13.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 iconv-lite@0.4.11 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c raw-body@2.1.7 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 bytes@2.4.0 \r\n\u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 iconv-lite@0.4.13 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 bytes@2.1.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c compression@1.5.2 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u252c accepts@1.2.13 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 negotiator@0.5.3 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 vary@1.0.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c connect-timeout@1.6.2 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 http-errors@1.3.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cookie@0.1.3 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cookie-parser@1.3.5 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c csurf@1.8.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 cookie@0.1.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u252c csrf@3.0.6 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 rndm@1.2.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 tsscmp@1.0.5 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c uid-safe@2.1.4 \r\n\u2502 \u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 random-bytes@1.0.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 http-errors@1.3.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 depd@1.0.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c errorhandler@1.4.3 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c accepts@1.3.3 \r\n\u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 negotiator@0.6.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c express-session@1.11.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 cookie@0.1.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 crc@3.3.0 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 depd@1.0.1 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c uid-safe@2.0.0 \r\n\u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 base64-url@1.2.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c finalhandler@0.4.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 escape-html@1.0.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 fresh@0.3.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 http-errors@1.3.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c method-override@2.3.7 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c debug@2.3.3 \r\n\u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 ms@0.7.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c morgan@1.6.1 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 depd@1.0.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c multiparty@3.3.2 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u252c readable-stream@1.1.14 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 isarray@0.0.1 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c stream-counter@0.2.0 \r\n\u2502 \u2502 \u2502 \u2502   \u2514\u2500\u252c readable-stream@1.1.14 \r\n\u2502 \u2502 \u2502 \u2502     \u2514\u2500\u2500 isarray@0.0.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 pause@0.1.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 qs@4.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 response-time@2.3.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c serve-favicon@2.3.2 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 etag@1.7.0 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 ms@0.7.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c serve-index@1.7.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u252c accepts@1.2.13 \r\n\u2502 \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 negotiator@0.5.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 batch@0.5.3 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 http-errors@1.3.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c serve-static@1.10.3 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u252c send@0.13.2 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 depd@1.1.0 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 ms@0.7.1 \r\n\u2502 \u2502 \u2502 \u2502   \u251c\u2500\u2500 range-parser@1.0.3 \r\n\u2502 \u2502 \u2502 \u2502   \u2514\u2500\u2500 statuses@1.2.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 vhost@3.0.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 content-disposition@0.5.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 cookie@0.1.3 \r\n\u2502 \u2502 \u251c\u2500\u252c debug@2.2.0 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 ms@0.7.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 depd@1.0.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 escape-html@1.0.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 etag@1.7.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 fresh@0.3.0 \r\n\u2502 \u2502 \u251c\u2500\u2500 merge-descriptors@1.0.0 \r\n\u2502 \u2502 \u251c\u2500\u252c proxy-addr@1.0.10 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 ipaddr.js@1.0.5 \r\n\u2502 \u2502 \u251c\u2500\u2500 range-parser@1.0.3 \r\n\u2502 \u2502 \u251c\u2500\u252c send@0.13.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 debug@2.2.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 destroy@1.0.3 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 http-errors@1.3.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 ms@0.7.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 statuses@1.2.1 \r\n\u2502 \u2502 \u2514\u2500\u2500 vary@1.0.1 \r\n\u2502 \u251c\u2500\u2500 lodash@2.4.2 \r\n\u2502 \u2514\u2500\u252c swagger-ui@2.0.24 \r\n\u2502   \u251c\u2500\u2500 coffee-script@1.6.3 \r\n\u2502   \u251c\u2500\u252c handlebars@1.0.12 \r\n\u2502   \u2502 \u251c\u2500\u2500 optimist@0.3.7 \r\n\u2502   \u2502 \u2514\u2500\u252c uglify-js@2.3.6 \r\n\u2502   \u2502   \u251c\u2500\u2500 async@0.2.10 \r\n\u2502   \u2502   \u2514\u2500\u252c source-map@0.1.43 \r\n\u2502   \u2502     \u2514\u2500\u2500 amdefine@1.0.1 \r\n\u2502   \u251c\u2500\u252c less@1.4.2 \r\n\u2502   \u2502 \u251c\u2500\u2500 mime@1.2.11 \r\n\u2502   \u2502 \u251c\u2500\u2500 mkdirp@0.3.5 \r\n\u2502   \u2502 \u2514\u2500\u2500 ycssmin@1.0.1 \r\n\u2502   \u2514\u2500\u252c swagger-client@2.0.36 \r\n\u2502     \u251c\u2500\u2500 btoa@1.1.1 \r\n\u2502     \u2514\u2500\u252c shred@0.8.10 \r\n\u2502       \u251c\u2500\u2500 ax@0.1.8 \r\n\u2502       \u251c\u2500\u2500 cookiejar@1.3.1 \r\n\u2502       \u2514\u2500\u2500 sprintf@0.1.1 \r\n\u251c\u2500\u252c loopback-sdk-angular-cli@1.2.0 \r\n\u2502 \u251c\u2500\u252c docular@0.6.6 \r\n\u2502 \u2502 \u251c\u2500\u2500 colors@1.1.2 \r\n\u2502 \u2502 \u251c\u2500\u2500 docular-doc-api-angular@0.0.3 \r\n\u2502 \u2502 \u251c\u2500\u252c docular-doc-api-doc@0.0.8 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 showdown@0.3.1 \r\n\u2502 \u2502 \u251c\u2500\u252c express@3.21.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 commander@2.6.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 content-disposition@0.5.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cookie@0.1.3 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 depd@1.0.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 escape-html@1.0.2 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 etag@1.7.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 fresh@0.3.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 merge-descriptors@1.0.0 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c proxy-addr@1.0.10 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 ipaddr.js@1.0.5 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 range-parser@1.0.3 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u252c send@0.13.0 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 destroy@1.0.3 \r\n\u2502 \u2502 \u2502 \u2502 \u251c\u2500\u2500 http-errors@1.3.1 \r\n\u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 statuses@1.2.1 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 vary@1.0.1 \r\n\u2502 \u2502 \u251c\u2500\u252c fs-extra@2.1.1 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 graceful-fs@4.1.11 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 jsonfile@2.4.0 \r\n\u2502 \u2502 \u251c\u2500\u252c node.extend@1.1.6 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 is@3.2.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 q@1.4.1 \r\n\u2502 \u2502 \u251c\u2500\u252c q-fs@0.1.36 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 fs-boot@0.0.9 \r\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 q@0.8.12 \r\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 q-io@0.0.18 \r\n\u2502 \u2502 \u2514\u2500\u252c q-io@1.9.4 \r\n\u2502 \u2502   \u251c\u2500\u252c collections@0.1.24 \r\n\u2502 \u2502   \u2502 \u2514\u2500\u2500 weak-map@1.0.0 \r\n\u2502 \u2502   \u251c\u2500\u2500 mime@1.2.11 \r\n\u2502 \u2502   \u251c\u2500\u2500 mimeparse@0.1.4 \r\n\u2502 \u2502   \u251c\u2500\u2500 q@0.9.7 \r\n\u2502 \u2502   \u251c\u2500\u2500 qs@0.1.0 \r\n\u2502 \u2502   \u2514\u2500\u2500 url2@0.0.0 \r\n\u2502 \u251c\u2500\u252c loopback-sdk-angular@1.10.2 \r\n\u2502 \u2502 \u2514\u2500\u2500 ejs@1.0.0 \r\n\u2502 \u251c\u2500\u252c optimist@0.6.1 \r\n\u2502 \u2502 \u251c\u2500\u2500 minimist@0.0.8 \r\n\u2502 \u2502 \u2514\u2500\u2500 wordwrap@0.0.3 \r\n\u2502 \u2514\u2500\u2500 semver@2.3.2 \r\n\u2514\u2500\u252c serve-favicon@2.4.1 \r\n  \u251c\u2500\u2500 etag@1.8.0 \r\n  \u251c\u2500\u2500 fresh@0.5.0 \r\n  \u251c\u2500\u2500 ms@0.7.2 \r\n  \u2514\u2500\u2500 parseurl@1.3.1 \r\n\r\nnpm WARN questionair@1.0.0 No license field.<\/pre>\n<p>&nbsp;<\/li>\n<li>Here I found no &#8216;lb-services.js&#8217; in \/client\/app\/js\/ directory, so let create it\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/node\/questionair$ lb-ng server\/server.js client\/app\/js\/lb-services.js\r\nLoading LoopBack app \"\/home\/teddy\/Documents\/node\/questionair\/server\/server.js\"\r\nGenerating \"lbServices\" for the API endpoint \"\/api\"\r\nSaving the generated services source to \"\/home\/teddy\/Documents\/node\/questionair\/client\/app\/js\/lb-services.js\"<\/pre>\n<p>The file &#8216;lb-services.js&#8217; would be created in \/client\/app\/js\/ directory.<br \/>\nThen don&#8217;t forget to hook the file in \/client\/app\/index.html file<\/p>\n<pre class=\"lang:default decode:true\">...\r\n&lt;script src=\"js\/app.js\"&gt;&lt;\/script&gt;\r\n&lt;script src=\"js\/lb-services.js\"&gt;&lt;\/script&gt;\r\n&lt;script src=\"js\/controllers\/survey.js\"&gt;&lt;\/script&gt;\r\n...<\/pre>\n<p>NOTE: I missed this step before because I didn&#8217;t check &#8216;lb-services.js&#8217; file then I got this error:<\/p>\n<pre class=\"lang:default decode:true \">Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:\r\nError: [$injector:modulerr] Failed to instantiate module lbServices due to:\r\nError: [$injector:nomod] Module 'lbServices' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.\r\nhttp:\/\/errors.angularjs.org\/1.4.14\/$injector\/nomod?p0=lbServices\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:68:12\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:2022:17\r\n    at ensure (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1946:38)\r\n    at module (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:2020:14)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4482:22\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4483:40\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\nhttp:\/\/errors.angularjs.org\/1.4.14\/$injector\/modulerr?p0=lbServices&p1=Error%3A%20%5B%24injector%3Anomod%5D%20Module%20'lbServices'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.4.14%2F%24injector%2Fnomod%3Fp0%3DlbServices%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2022%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1946%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2020%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4482%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4483%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:68:12\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4505:15\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4483:40\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\n    at createInjector (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4391:11)\r\n    at doBootstrap (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1693:20)\r\n    at bootstrap (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1714:12)\r\nhttp:\/\/errors.angularjs.org\/1.4.14\/$injector\/modulerr?p0=app&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20lbServices%20due%20to%3A%0AError%3A%20%5B%24injector%3Anomod%5D%20Module%20'lbServices'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.4.14%2F%24injector%2Fnomod%3Fp0%3DlbServices%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2022%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1946%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2020%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4482%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4483%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.4.14%2F%24injector%2Fmodulerr%3Fp0%3DlbServices%26p1%3DError%253A%2520%255B%2524injector%253Anomod%255D%2520Module%2520'lbServices'%2520is%2520not%2520available!%2520You%2520either%2520misspelled%2520the%2520module%2520name%2520or%2520forgot%2520to%2520load%2520it.%2520If%2520registering%2520a%2520module%2520ensure%2520that%2520you%2520specify%2520the%2520dependencies%2520as%2520the%2520second%2520argument.%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.4.14%252F%2524injector%252Fnomod%253Fp0%253DlbServices%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A68%253A12%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A2022%253A17%250A%2520%2520%2520%2520at%2520ensure%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A1946%253A38)%250A%2520%2520%2520%2520at%2520module%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A2020%253A14)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4482%253A22%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A341%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4466%253A5)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4483%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A341%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4466%253A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4505%3A15%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4483%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4391%3A11)%0A%20%20%20%20at%20doBootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1693%3A20)%0A%20%20%20%20at%20bootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1714%3A12)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:68:12\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:2022:17\r\n    at ensure (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1946:38)\r\n    at module (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:2020:14)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4482:22\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4483:40\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\nhttp:\/\/errors.angularjs.org\/1.4.14\/$injector\/modulerr?p0=lbServices&p1=Error%3A%20%5B%24injector%3Anomod%5D%20Module%20'lbServices'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.4.14%2F%24injector%2Fnomod%3Fp0%3DlbServices%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2022%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1946%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2020%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4482%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4483%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:68:12\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4505:15\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4483:40\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\n    at createInjector (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4391:11)\r\n    at doBootstrap (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1693:20)\r\n    at bootstrap (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1714:12)\r\nhttp:\/\/errors.angularjs.org\/1.4.14\/$injector\/modulerr?p0=app&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20lbServices%20due%20to%3A%0AError%3A%20%5B%24injector%3Anomod%5D%20Module%20'lbServices'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.4.14%2F%24injector%2Fnomod%3Fp0%3DlbServices%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2022%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1946%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A2020%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4482%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4483%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.4.14%2F%24injector%2Fmodulerr%3Fp0%3DlbServices%26p1%3DError%253A%2520%255B%2524injector%253Anomod%255D%2520Module%2520'lbServices'%2520is%2520not%2520available!%2520You%2520either%2520misspelled%2520the%2520module%2520name%2520or%2520forgot%2520to%2520load%2520it.%2520If%2520registering%2520a%2520module%2520ensure%2520that%2520you%2520specify%2520the%2520dependencies%2520as%2520the%2520second%2520argument.%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.4.14%252F%2524injector%252Fnomod%253Fp0%253DlbServices%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A68%253A12%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A2022%253A17%250A%2520%2520%2520%2520at%2520ensure%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A1946%253A38)%250A%2520%2520%2520%2520at%2520module%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A2020%253A14)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4482%253A22%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A341%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4466%253A5)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4483%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A341%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A3000%252Fbower_components%252Fangular%252Fangular.js%253A4466%253A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4505%3A15%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4483%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A341%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4466%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A4391%3A11)%0A%20%20%20%20at%20doBootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1693%3A20)%0A%20%20%20%20at%20bootstrap%20(http%3A%2F%2Flocalhost%3A3000%2Fbower_components%2Fangular%2Fangular.js%3A1714%3A12)\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:68:12\r\n    at http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4505:15\r\n    at forEach (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:341:20)\r\n    at loadModules (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4466:5)\r\n    at createInjector (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:4391:11)\r\n    at doBootstrap (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1693:20)\r\n    at bootstrap (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1714:12)\r\n    at angularInit (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:1608:5)\r\n    at HTMLDocument.&lt;anonymous&gt; (http:\/\/localhost:3000\/bower_components\/angular\/angular.js:29847:5)\r\n    at mightThrow (http:\/\/localhost:3000\/bower_components\/jquery\/dist\/jquery.js:3570:29)\r\n(anonymous) @ angular.js:68\r\n(anonymous) @ angular.js:4505\r\nforEach @ angular.js:341\r\nloadModules @ angular.js:4466\r\ncreateInjector @ angular.js:4391\r\ndoBootstrap @ angular.js:1693\r\nbootstrap @ angular.js:1714\r\nangularInit @ angular.js:1608\r\n(anonymous) @ angular.js:29847\r\nmightThrow @ jquery.js:3570\r\nprocess @ jquery.js:3638<\/pre>\n<p>&nbsp;<\/li>\n<li>Now let run the node server\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/node\/questionair$ node .\r\nBrowse your REST API at http:\/\/0.0.0.0:3000\/explorer\r\nWeb server listening at: http:\/\/0.0.0.0:3000\/<\/pre>\n<p>Then open it on our browser: http:\/\/localhost:3000\/<br \/>\nNothing found there because this app still haven&#8217;t completed yet.<br \/>\nThe main controller &#8216;questionairController&#8217; is in \/client\/app\/index.html file. We need to call it in \/client\/app\/js\/app.js file like this<\/p>\n<pre class=\"lang:default decode:true\">var app = angular\r\n  .module('app', [\r\n    'ngResource',\r\n    'lbServices'\r\n  ]);\r\n\r\napp.controller('questionairController', function($scope, $http, Question) {\r\n    console.log(Question.find());\r\n    \r\n    \r\n});\r\n<\/pre>\n<p>The parameter &#8216;Question&#8217; we found from \/server\/model-config.json file. It represent &#8216;Question&#8217; table. Also look the table structure in \/server\/models\/question.json. There are also the others tables like &#8216;Answer&#8217;, &#8216;Role&#8217;, etc.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Ref: https:\/\/github.com\/hellsan631\/questionair http:\/\/stackoverflow.com\/questions\/32132324\/n-level-hierarchy-array-angular-js Installation: Clone the github: https:\/\/github.com\/hellsan631\/questionair.git teddy@teddy-K43SJ:~\/Documents\/node$ git clone https:\/\/github.com\/hellsan631\/questionair.git Cloning into &#8216;questionair&#8217;&#8230; remote: Counting objects: 57, done. remote: Total 57 (delta 0), reused 0 (delta 0), pack-reused 57 Unpacking objects: 100% (57\/57), done. Checking connectivity&#8230; done. It&#8217;d create a new dir &#8216;questionair&#8217;. Go to the dir then install the node packages teddy@teddy-K43SJ:~\/Documents\/node$ &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/03\/16\/questionair-app-with-loopback-and-angular\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Questionair App with Loopback and Angular&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,13],"tags":[],"class_list":["post-2106","post","type-post","status-publish","format-standard","hentry","category-node","category-tutorial"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/2106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=2106"}],"version-history":[{"count":5,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/2106\/revisions"}],"predecessor-version":[{"id":2116,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/2106\/revisions\/2116"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=2106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=2106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=2106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}