Code Monkey home page Code Monkey logo

angularfundamentalsfiles's Introduction

Angular Fundamentals Course

The course is out of date. Angular 1.5 has released, and although all the code in this course works with 1.5, there is the new feature of components which you should learn about. Checking out Pluralsight's course on Angular 1.5 components after this course will keep you up to date.

Testing Module: The testing portion of the course uses two files which weren't created in the course: UserData.js and UserResource.js. This was done to highlight testing services with dependencies. You can find those files in this github repo, and add them to your project so that you can follow along with the testing chapter.

Executing server.sh: If you are on a Linux or OSX box, you may need to execute "chmod +x server.sh" in order to run the node web server, or you can execute it with "bash server.sh" from the bash shell.

angularfundamentalsfiles's People

Contributors

jim-cooper avatar jmcooper avatar joeeames avatar mhicauber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angularfundamentalsfiles's Issues

Not getting the expected output when running protractor tests

Following the tutorial exactly the output doesn't have x test, x assertion, x failures as expected it has the format x specs, x failures.

$ protractor test/protractor.conf.js
Using the selenium server at http://localhost:4444/wd/hub
[launcher] Running 1 instances of WebDriver
Started
WARNING - more than one element found for locator by.binding("event.name") - the first result will be used
......


6 specs, 0 failures
Finished in 3.785 seconds
[launcher] 0 instance(s) of WebDriver still running
[launcher] chrome #1 passed

Broken HelloWorld with 1.3

Since globals aren't in by default a suggested modification might be to include:

head / body

ng-app="app"

and for the controller

angular.module("app", [])
    .controller("HelloWorldCtrl", function($scope) {
        $scope.helloMessage = "lorem foo";
    } );

Infinite loop in web-server.js

While going through this course on PluralSight, I've triple-checked my code with what was presented in the Routing Module when enabling HTML5 routing ($locationProvider.html5Mode(true);).

Navigating to the New Event page works. Listing all the events works. I even successfully completed one of the "extra exercises" at the end of the module—adding a route for the Edit Profile page. However, no matter what I do, trying to view a single event after enabling HTML5 routing (e.g. navigate to event/1 or even /event/1, for example) ends up putting the Node.js webserver into an infinite loop, eventually consuming all memory available to the Chrome (v39.x) process and crashing chrome.

I confirmed that this is the case by turning off HTML5 routing and replacing the # in the hrefs and everything works again.

missing script: start

I'm following the videos and have installed git for windows/bash/etc and downloaded the copy of the angular-seed-master zip from this site. When I type 'npm start', I get the following

$ npm start
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "c:\Program Files\nodejs\node.exe" "c:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1

npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! c:\Brent\angular-seed-master\app\npm-debug.log

Add ng-sanitize to edit-profile.html

On lesson 3 in Creating & Using Angular Services you suggest using the EditProfile.html file from the zip included here. It doesn't work unless you manually add <script src="/lib/angular/angular-sanitize.js"></script> to the bottom of the file. I don't believe the video mentions this.

npm install errors

When I execute "npm install", I get an initial warning:

npm WARN optional dep failed, continuing [email protected]

Later, I get this:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(297,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.
TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. [d:\dev_misc\Web\Angular\AngularFundamentalsFiles\angular-seed-test\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.targets(146,5): error MSB6006: "CL.exe" exited with code -1073741515. [d:\dev_misc\Web\Angular\AngularFundamentalsFiles\angular-seed-test\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.vcxproj]

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(297,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.
TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. [d:\dev_misc\Web\Angular\AngularFundamentalsFiles\angular-seed-test\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\validation.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.targets(146,5): error MSB6006: "CL.exe" exited with code -1073741515. [d:\dev_misc\Web\Angular\AngularFundamentalsFiles\angular-seed-test\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\validation.vcxproj]

It appears the projects were made with Visual Studio 2010. I have 2008, 2012, and 2013 installed. Is 2010 required? Are there other dependencies?

PluralSight Angular Fundamentions EventApp not working per course instructions

Hello,

This is simply all I can get to render on the EventDetails.html page.
{{event.name}}

I have followed the PluralSight course and created EventController.js and just cannot the event.name variable to populate. Looks dead simple but just isn't working.

app.js
'use strict';
var eventsApp = angular.module('eventsApp', []);

EventDetails.html

{{event.name}}
<script src="lib/jquery.min.js"></script> <script src="lib/underscore-1.4.4.min.js"></script> <script src="lib/bootstrap.min.js"></script> <script src="lib/angular/angular.js"></script> <script src="js/app.js"></script> <script src="js/controllers/EventController.js"></script>

EventController.js
'use strict'
eventsApp.controller('EventController',
function EventController($scope){
$scope.event = {
name: 'Angular Boot Camp'
};
}
);

What am I missing? I have gone back over the course many times but just cannot figure it out. The page must think {{event.name}} is just text I am writing out.

Thanks

No data setup

In module 3, you guys start making some AJAX calls (e.g. /data/event/1), but, you never show how to set this up! It's impossible to follow along.

This course was going so well, especially in Modules 1 and 2, but the 3rd one seems to have fallen off a cliff in terms of quality--especially for those who are following along. Too bad, I was really excited about the rest of this pluralsight course. :(

I tried several things to get this to work:

  • creating a data.json file with a JSON structure like { event: { /* event data*/ } } -- doesn't work
  • creating a data folder, then having a event.json file with JSON like { name: /* blah */, date: /* etc...*/ } -- doesn't work
  • creating a data/event folder structure and a file named 1.json -- doesn't work.
  • same as immediately above, but renaming the file to just 1. The file is successfully found (200 OK), but nothing appears on the page. :(

$cookieStore is deprecated in Angular 1.5.7

Hi,

I saw the note in the README indicating that this course is out of date (pending update to Angular 1.5). I don't know if this is redundant, but I thought it may still be worth mentioning.

In the module on Angular Fundamentals, the video Using Angular's $cookieStore Service uses $cookieStore. The (currently latest) 1.5.7 docs mention:

Note: The $cookieStore service is deprecated. Please use the $cookies service instead.

This may be worth mentioning in the video. $cookies also provides a way to set an expiry (the video mentioned that it's probably worthwhile to wrap an existing third-party library if you want to control cookie expiration).

npm install cannot download karma files

Tried to run the npm install and it errors with the ECONNRESET with trying to download the Karma files. Here is the log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ 'C:\Users\reevesh\Downloads\AngularDemos\angular-seed-master',
6 verbose install [ 'phantomjs',
6 verbose install 'karma',
6 verbose install 'karma-junit-reporter',
6 verbose install 'karma-jasmine',
6 verbose install 'karma-ng-scenario' ] ]
7 info preinstall angularjs-seed@
8 verbose readDependencies using package.json deps
9 verbose cache add [ 'phantomjs@~1.9', null ]
10 verbose cache add name=undefined spec="phantomjs@~1.9" args=["phantomjs@~1.9",null]
11 verbose parsed url { protocol: null,
11 verbose parsed url slashes: null,
11 verbose parsed url auth: null,
11 verbose parsed url host: null,
11 verbose parsed url port: null,
11 verbose parsed url hostname: null,
11 verbose parsed url hash: null,
11 verbose parsed url search: null,
11 verbose parsed url query: null,
11 verbose parsed url pathname: 'phantomjs@~1.9',
11 verbose parsed url path: 'phantomjs@~1.9',
11 verbose parsed url href: 'phantomjs@~1.9' }
12 verbose cache add [ 'karma@~0.10', null ]
13 verbose cache add name=undefined spec="karma@~0.10" args=["karma@~0.10",null]
14 verbose parsed url { protocol: null,
14 verbose parsed url slashes: null,
14 verbose parsed url auth: null,
14 verbose parsed url host: null,
14 verbose parsed url port: null,
14 verbose parsed url hostname: null,
14 verbose parsed url hash: null,
14 verbose parsed url search: null,
14 verbose parsed url query: null,
14 verbose parsed url pathname: 'karma@~0.10',
14 verbose parsed url path: 'karma@~0.10',
14 verbose parsed url href: 'karma@~0.10' }
15 verbose cache add [ 'karma-junit-reporter@~0.1', null ]
16 verbose cache add name=undefined spec="karma-junit-reporter@~0.1" args=["karma-junit-reporter@~0.1",null]
17 verbose parsed url { protocol: null,
17 verbose parsed url slashes: null,
17 verbose parsed url auth: null,
17 verbose parsed url host: null,
17 verbose parsed url port: null,
17 verbose parsed url hostname: null,
17 verbose parsed url hash: null,
17 verbose parsed url search: null,
17 verbose parsed url query: null,
17 verbose parsed url pathname: 'karma-junit-reporter@~0.1',
17 verbose parsed url path: 'karma-junit-reporter@~0.1',
17 verbose parsed url href: 'karma-junit-reporter@~0.1' }
18 verbose cache add [ 'karma-jasmine@~0.1', null ]
19 verbose cache add name=undefined spec="karma-jasmine@~0.1" args=["karma-jasmine@~0.1",null]
20 verbose parsed url { protocol: null,
20 verbose parsed url slashes: null,
20 verbose parsed url auth: null,
20 verbose parsed url host: null,
20 verbose parsed url port: null,
20 verbose parsed url hostname: null,
20 verbose parsed url hash: null,
20 verbose parsed url search: null,
20 verbose parsed url query: null,
20 verbose parsed url pathname: 'karma-jasmine@~0.1',
20 verbose parsed url path: 'karma-jasmine@~0.1',
20 verbose parsed url href: 'karma-jasmine@~0.1' }
21 verbose cache add [ 'karma-ng-scenario@~0.1', null ]
22 verbose cache add name=undefined spec="karma-ng-scenario@~0.1" args=["karma-ng-scenario@~0.1",null]
23 verbose parsed url { protocol: null,
23 verbose parsed url slashes: null,
23 verbose parsed url auth: null,
23 verbose parsed url host: null,
23 verbose parsed url port: null,
23 verbose parsed url hostname: null,
23 verbose parsed url hash: null,
23 verbose parsed url search: null,
23 verbose parsed url query: null,
23 verbose parsed url pathname: 'karma-ng-scenario@~0.1',
23 verbose parsed url path: 'karma-ng-scenario@~0.1',
23 verbose parsed url href: 'karma-ng-scenario@~0.1' }
24 verbose cache add name="phantomjs" spec="~1.9" args=["phantomjs","~1.9"]
25 verbose parsed url { protocol: null,
25 verbose parsed url slashes: null,
25 verbose parsed url auth: null,
25 verbose parsed url host: null,
25 verbose parsed url port: null,
25 verbose parsed url hostname: null,
25 verbose parsed url hash: null,
25 verbose parsed url search: null,
25 verbose parsed url query: null,
25 verbose parsed url pathname: '~1.9',
25 verbose parsed url path: '~1.9',
25 verbose parsed url href: '~1.9' }
26 verbose addNamed [ 'phantomjs', '~1.9' ]
27 verbose addNamed [ null, '>=1.9.0-0 <1.10.0-0' ]
28 verbose cache add name="karma" spec="~0.10" args=["karma","~0.10"]
29 verbose parsed url { protocol: null,
29 verbose parsed url slashes: null,
29 verbose parsed url auth: null,
29 verbose parsed url host: null,
29 verbose parsed url port: null,
29 verbose parsed url hostname: null,
29 verbose parsed url hash: null,
29 verbose parsed url search: null,
29 verbose parsed url query: null,
29 verbose parsed url pathname: '~0.10',
29 verbose parsed url path: '~0.10',
29 verbose parsed url href: '~0.10' }
30 verbose addNamed [ 'karma', '~0.10' ]
31 verbose addNamed [ null, '>=0.10.0-0 <0.11.0-0' ]
32 verbose cache add name="karma-junit-reporter" spec="~0.1" args=["karma-junit-reporter","~0.1"]
33 verbose parsed url { protocol: null,
33 verbose parsed url slashes: null,
33 verbose parsed url auth: null,
33 verbose parsed url host: null,
33 verbose parsed url port: null,
33 verbose parsed url hostname: null,
33 verbose parsed url hash: null,
33 verbose parsed url search: null,
33 verbose parsed url query: null,
33 verbose parsed url pathname: '~0.1',
33 verbose parsed url path: '~0.1',
33 verbose parsed url href: '~0.1' }
34 verbose addNamed [ 'karma-junit-reporter', '~0.1' ]
35 verbose addNamed [ null, '>=0.1.0-0 <0.2.0-0' ]
36 verbose cache add name="karma-jasmine" spec="~0.1" args=["karma-jasmine","~0.1"]
37 verbose parsed url { protocol: null,
37 verbose parsed url slashes: null,
37 verbose parsed url auth: null,
37 verbose parsed url host: null,
37 verbose parsed url port: null,
37 verbose parsed url hostname: null,
37 verbose parsed url hash: null,
37 verbose parsed url search: null,
37 verbose parsed url query: null,
37 verbose parsed url pathname: '~0.1',
37 verbose parsed url path: '~0.1',
37 verbose parsed url href: '~0.1' }
38 verbose addNamed [ 'karma-jasmine', '~0.1' ]
39 verbose addNamed [ null, '>=0.1.0-0 <0.2.0-0' ]
40 verbose cache add name="karma-ng-scenario" spec="~0.1" args=["karma-ng-scenario","~0.1"]
41 verbose parsed url { protocol: null,
41 verbose parsed url slashes: null,
41 verbose parsed url auth: null,
41 verbose parsed url host: null,
41 verbose parsed url port: null,
41 verbose parsed url hostname: null,
41 verbose parsed url hash: null,
41 verbose parsed url search: null,
41 verbose parsed url query: null,
41 verbose parsed url pathname: '~0.1',
41 verbose parsed url path: '~0.1',
41 verbose parsed url href: '~0.1' }
42 verbose addNamed [ 'karma-ng-scenario', '~0.1' ]
43 verbose addNamed [ null, '>=0.1.0-0 <0.2.0-0' ]
44 silly lockFile 472de541-phantomjs-1-9 phantomjs@~1.9
45 verbose lock phantomjs@~1.9 C:\Users\reevesh\AppData\Roaming\npm-cache\472de541-phantomjs-1-9.lock
46 silly lockFile 059b5650-karma-0-10 karma@~0.10
47 verbose lock karma@~0.10 C:\Users\reevesh\AppData\Roaming\npm-cache\059b5650-karma-0-10.lock
48 silly lockFile dbcabe50-karma-junit-reporter-0-1 karma-junit-reporter@~0.1
49 verbose lock karma-junit-reporter@~0.1 C:\Users\reevesh\AppData\Roaming\npm-cache\dbcabe50-karma-junit-reporter-0-1.lock
50 silly lockFile 0a4b2533-karma-jasmine-0-1 karma-jasmine@~0.1
51 verbose lock karma-jasmine@~0.1 C:\Users\reevesh\AppData\Roaming\npm-cache\0a4b2533-karma-jasmine-0-1.lock
52 silly lockFile 8186ecb3-karma-ng-scenario-0-1 karma-ng-scenario@~0.1
53 verbose lock karma-ng-scenario@~0.1 C:\Users\reevesh\AppData\Roaming\npm-cache\8186ecb3-karma-ng-scenario-0-1.lock
54 silly addNameRange { name: 'phantomjs',
54 silly addNameRange range: '>=1.9.0-0 <1.10.0-0',
54 silly addNameRange hasData: false }
55 silly addNameRange { name: 'karma', range: '>=0.10.0-0 <0.11.0-0', hasData: false }
56 verbose request where is /phantomjs
57 verbose request registry https://registry.npmjs.org/
58 verbose request id 9e8e5099a4c48a2e
59 verbose url raw /phantomjs
60 verbose url resolving [ 'https://registry.npmjs.org/', './phantomjs' ]
61 verbose url resolved https://registry.npmjs.org/phantomjs
62 verbose request where is https://registry.npmjs.org/phantomjs
63 info trying registry request attempt 1 at 13:53:55
64 http GET https://registry.npmjs.org/phantomjs
65 verbose request where is /karma
66 verbose request registry https://registry.npmjs.org/
67 verbose url raw /karma
68 verbose url resolving [ 'https://registry.npmjs.org/', './karma' ]
69 verbose url resolved https://registry.npmjs.org/karma
70 verbose request where is https://registry.npmjs.org/karma
71 info trying registry request attempt 1 at 13:53:55
72 http GET https://registry.npmjs.org/karma
73 silly addNameRange { name: 'karma-ng-scenario',
73 silly addNameRange range: '>=0.1.0-0 <0.2.0-0',
73 silly addNameRange hasData: false }
74 silly addNameRange { name: 'karma-jasmine',
74 silly addNameRange range: '>=0.1.0-0 <0.2.0-0',
74 silly addNameRange hasData: false }
75 silly addNameRange { name: 'karma-junit-reporter',
75 silly addNameRange range: '>=0.1.0-0 <0.2.0-0',
75 silly addNameRange hasData: false }
76 verbose request where is /karma-ng-scenario
77 verbose request registry https://registry.npmjs.org/
78 verbose url raw /karma-ng-scenario
79 verbose url resolving [ 'https://registry.npmjs.org/', './karma-ng-scenario' ]
80 verbose url resolved https://registry.npmjs.org/karma-ng-scenario
81 verbose request where is https://registry.npmjs.org/karma-ng-scenario
82 info trying registry request attempt 1 at 13:53:55
83 http GET https://registry.npmjs.org/karma-ng-scenario
84 verbose request where is /karma-jasmine
85 verbose request registry https://registry.npmjs.org/
86 verbose url raw /karma-jasmine
87 verbose url resolving [ 'https://registry.npmjs.org/', './karma-jasmine' ]
88 verbose url resolved https://registry.npmjs.org/karma-jasmine
89 verbose request where is https://registry.npmjs.org/karma-jasmine
90 info trying registry request attempt 1 at 13:53:55
91 http GET https://registry.npmjs.org/karma-jasmine
92 verbose request where is /karma-junit-reporter
93 verbose request registry https://registry.npmjs.org/
94 verbose url raw /karma-junit-reporter
95 verbose url resolving [ 'https://registry.npmjs.org/', './karma-junit-reporter' ]
96 verbose url resolved https://registry.npmjs.org/karma-junit-reporter
97 verbose request where is https://registry.npmjs.org/karma-junit-reporter
98 info trying registry request attempt 1 at 13:53:55
99 http GET https://registry.npmjs.org/karma-junit-reporter
100 info retry will retry, error on last attempt: Error: socket hang up
101 info retry will retry, error on last attempt: Error: socket hang up
102 info retry will retry, error on last attempt: Error: read ECONNRESET
103 info retry will retry, error on last attempt: Error: read ECONNRESET
104 info retry will retry, error on last attempt: Error: socket hang up
105 info trying registry request attempt 2 at 13:54:05
106 http GET https://registry.npmjs.org/karma
107 info trying registry request attempt 2 at 13:54:05
108 http GET https://registry.npmjs.org/phantomjs
109 info trying registry request attempt 2 at 13:54:05
110 http GET https://registry.npmjs.org/karma-junit-reporter
111 info trying registry request attempt 2 at 13:54:05
112 http GET https://registry.npmjs.org/karma-ng-scenario
113 info trying registry request attempt 2 at 13:54:05
114 http GET https://registry.npmjs.org/karma-jasmine
115 info retry will retry, error on last attempt: Error: socket hang up
116 info retry will retry, error on last attempt: Error: read ECONNRESET
117 info retry will retry, error on last attempt: Error: read ECONNRESET
118 info retry will retry, error on last attempt: Error: read ECONNRESET
119 info retry will retry, error on last attempt: Error: read ECONNRESET
120 info trying registry request attempt 3 at 13:55:05
121 http GET https://registry.npmjs.org/karma
122 info trying registry request attempt 3 at 13:55:05
123 http GET https://registry.npmjs.org/phantomjs
124 info trying registry request attempt 3 at 13:55:05
125 http GET https://registry.npmjs.org/karma-junit-reporter
126 info trying registry request attempt 3 at 13:55:05
127 http GET https://registry.npmjs.org/karma-ng-scenario
128 info trying registry request attempt 3 at 13:55:05
129 http GET https://registry.npmjs.org/karma-jasmine
130 silly lockFile 472de541-phantomjs-1-9 phantomjs@~1.9
131 silly lockFile 472de541-phantomjs-1-9 phantomjs@~1.9
132 silly lockFile dbcabe50-karma-junit-reporter-0-1 karma-junit-reporter@~0.1
133 silly lockFile dbcabe50-karma-junit-reporter-0-1 karma-junit-reporter@~0.1
134 silly lockFile 8186ecb3-karma-ng-scenario-0-1 karma-ng-scenario@~0.1
135 silly lockFile 8186ecb3-karma-ng-scenario-0-1 karma-ng-scenario@~0.1
136 silly lockFile 059b5650-karma-0-10 karma@~0.10
137 silly lockFile 059b5650-karma-0-10 karma@~0.10
138 silly lockFile 0a4b2533-karma-jasmine-0-1 karma-jasmine@~0.1
139 silly lockFile 0a4b2533-karma-jasmine-0-1 karma-jasmine@~0.1
140 error network socket hang up
140 error network This is most likely not a problem with npm itself
140 error network and is related to network connectivity.
140 error network In most cases you are behind a proxy or have bad network settings.
140 error network
140 error network If you are behind a proxy, please make sure that the
140 error network 'proxy' config is set properly. See: 'npm help config'
141 error System Windows_NT 6.1.7601
142 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
143 error cwd C:\Users\reevesh\Downloads\AngularDemos\angular-seed-master
144 error node -v v0.10.32
145 error npm -v 1.4.28
146 error code ECONNRESET
147 verbose exit [ 1, true ]

What do I need to do to fix this?

Revisit the Testing Modules and fix issues

There appears to be some old and out of sync content in the testing modules.
You should consider revisiting these modules to ensure that what you are presenting, is what someone would actually have|see. If you do not want to re-record, please consider adding notes to the video for updates.

Some examples are trivial:
*incorrectly named dirs - "partials" vs "templates"

Some examples are not so trivial
*missing e2e-test.bat
*e2e-test.bat from seed doesnt match the project structure from DemoApp
(overall cleaning up the situation so that the seed is actually a seed for the DemoApp would help here)

Filtering by Intermediate produces zero results

On the EventDetails on the when selecting Intermediate produces no results as the filtering is in the incorrect order on the ng-repeat.
It limits the collection of items first and then tries to filter by query.level

I fixed it locally by changing:
<li ng-repeat="session in event.sessions | orderBy:sortorder | limitTo:2 | filter:query">
to
<li ng-repeat="session in event.sessions | orderBy:sortorder | filter:query | limitTo:2">

This then filters the data and then takes the top 2 items from the list

Missing angular-sanitize.js in EditProfile.html

I think you guys are missing the "<script src="/lib/angular/angular-sanitize.js"></script>" line in EditProfile.html in your zip (both in the original and finished folders).

Without it I wasn't able to use the getGravatarUrl function to change the image when I was working on the PluralSight course "Angular Fundamentals" and I got to the 3rd section of "Creating and using Angular services". It gave me a console error too, so I'm attaching that for your viewing/debugging pleasure.

While I have your attention, thanks so much for this course! I am only half way through but I have learned a huge amount already. Your course is clear and concise while still delivering a great amount of very useful information. I will be taking at least one more course form you guys after this on Angular, and if you have a bootstrap course, I will be taking that too.

editprofilejserror-pluralsight

/img/angularjs-logo.png is missing

I'm following Pluralsight course and on section "Demo: Controllers" you add ng-src with {{event.imageUrl}} defined in EventController.
However, file "/img/angularjs-logo.png" is missing in DemoApp.zip bundle?

Kind Regards

DemoApp-Finished Doesn't Function

When you unzip the Demo App Finished, run npm install and fire up the server it only comes up with a blank page that has a navbar and a link to the Create Event.

I also ran into issues following the video tutorial about 1/3 of the way through when you build out the data service and api, the server breaks and doesn't load any of the material.

pass port to server.sh

The ability to pass the port to server.sh (and then to web-server.js) would be useful.
A modified version of server.sh:

cd app
node ../scripts/web-server.js "$@"

Stuck in the tutorial

I've been trying to get past the Thrid Module, but the code isn't working for me when I try to request an event from the data file. Could you point me to some help?

Missing path module

I'm using WebStorm and whilte writing the web-server.js file, it cannot resolve the path module on node. No problem with express module though.

I tried installing path module with npm, but is seems it's not the same used in the course.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.