Routing in Angular – Part 5

In this section, we are going to continue from the last section and will get started with Child Routes aka Nested Routes. Nested routes is the concept of containing routes within other routes. With nested routes we’re able to encapsulate the functionality of parent routes and have that functionality apply to the child routes. This is one of the nice ways to isolate different functional areas. Otherwise, imagine your base routes will grow like anything. I have configured the routes in such a way that all reviews now sit under location. Below, I have pasted modified structure of app.

Continue reading “Routing in Angular – Part 5” »

488 total views, no views today

How to get the webpack configuration with Angular CLI?

In this post, I am going to share a small tip to extract webpack file out of Angular CLI. We usually use Angular CLI to scaffold our Angular app, but in this case, webpack file is hidden.

Continue reading “How to get the webpack configuration with Angular CLI?” »

537 total views, 2 views today

Cannot find module ‘./wwwroot/dist/vendor-manifest.json

Hi Friends,

Thought to share one of the errors which I usually face, whenever I switch machine. Scenario is I am working on any greenfield project which is basically an angular 4 project with asp.net core. I have a habit of keeping my code on source control which is git in this case. However, when I clone the same on different machine and install my usual dependencies with npm install; soon after that when I run my app, it gives me below error.

Continue reading “Cannot find module ‘./wwwroot/dist/vendor-manifest.json” »

1,355 total views, 2 views today

Should I Invest time in Angular 1 or Angular 2(Angular 4)?

In  this section, I thought of talking a question that I’m frequently asked, “should I invest time in Angular 1 or 2 (now angular 4)?”. I hope this post enable to take decision wisely and effectively. Whenever, I’m asked this question, I counter questions developers with my questions.

Angular

Continue reading “Should I Invest time in Angular 1 or Angular 2(Angular 4)?” »

1,949 total views, no views today

Directive Controller and Link Timing in action

In this section, we will see execution timing of directive controller and associated link function in action. I’m looking at the timing of directive’s controller and link functions. As the DOM is compiled by AngularJS, the directive controller and link function execute at different levels of the compile lifecycle. When AngularJS compiles the DOM, it walks down the DOM tree in a.

pic_angular

Continue reading “Directive Controller and Link Timing in action” »

522 total views, no views today

Why Angular 2.0?

Hi Friends,

In this section, we’ll talk about Angular’s upcoming version Angular2. We will discuss major changes around Angular 2 and what to expect from this version.

Angular is currently the most popular off-course. The Angular team devised a way to allow projects to run both Angular 1.X and 2.0 code at the same time. Upgrading could now be a gradual process. In my view, this saved the framework from almost certain stagnation and the horror of thousands of challenging to maintain, legacy code bases.

Continue reading “Why Angular 2.0?” »

4,095 total views, 2 views today

Learning Angular JS in 2 Hours – 3rd Part

Download Code:- https://github.com/rahulsahay19/movieReview-SPA-Demo

However, if you would like to learn the stuffs from the scratch and code along. you can refer the below stuffs.

Getting Started with Angular JS :- http://bit.ly/ng-kindle
Building SPA with Angular and MVC 5:- http://ow.ly/Jh4bI

Demo Site:- http://moviereview.rahulsahay.com/#/

Thanks for Joining Me!

Thanks,
Rahul Sahay
Happy Coding

1,884 total views, no views today

Learning Angular JS in 2 hours

Hi Friends,

In this section, I have started explaining building simple App using Angular, MVC, Web API and other bunch of stuffs. Here, I have recorded few videos to give the glimpse, how I usually get started.

Will Publish another videos shortly. Thanks for Joining me.

Thanks,
Rahul Sahay
Happy Coding

3,027 total views, 1 views today