What’s New In Angular 4.0

  • In Angular 4.0, some under the hood changes, some improvements, and performance improvements have been done.
  • In Angular 4.0, some under the hood changes, some improvements, and performance improvements have been done.
  • ngIf, 

    In Angular 2.0, if we wanted to use ngIf with multiple conditions or specifically with else, we write, as shown below.

  • In Angular 2.0

    Output

    In Angular 4.0 

    NgIf syntax has been extended to support the else clause to display the template when the condition is false.

  • Example OutputIn Angular 4.0NgIf syntax has been extended to support the else clause to display the template when the condition is false.

In this article, I am explaining what is new in Angular 4.0.
Continue reading “What’s New In Angular 4.0”

AngularJS 2.0 From The Beginning

#AngularJS 2.0 From The Beginning - #ngForm - Day 16 by @debasiskolsaha cc @CsharpCorner

  • So far, we have discussed about data binding, input properties, output properties, pipes, viewchild, Directives, Services including routes and template based form binding, using ngForms in Angular 2.0.
  • Now, in this article, I will discuss how to create model based form, using Angular form module in Angular 2.0.
  • In my previous article, I already discussed about the template driven form binding in Angular 2.0.
  • Now, in this article, we will discuss about the Model Driven or Reactive Form binding in the Angular 2.0.
  • To begin, we must first ensure that we are working with the right Directives and the right classes in order to take advantage of procedural forms.

In this article, we will discuss model based form binding in Angular 2.0.
Continue reading “AngularJS 2.0 From The Beginning”

Top 8 Resources to Explore Angular 4 – Hacker Noon

  • Top 8 Resources to Explore Angular 4Angular version 4 is out!In Dec, 8, Igor Minar announced that Angular 3 will be skipped.
  • He also introduced the tentative scheduling of the versions according to the semantic versioning.
  • The due date of Angular 4 release was Mar, 22.
  • In a delay of one day, the final version is available for all of us.As days past, the community begun discussing and discovering the new features.
  • It’s the best time to explore the new version.In this article we will look over the prime, qualitative and valuable resources.

In Dec, 8, Igor Minar announced that Angular 3 will be skipped. He also introduced the tentative scheduling of the versions according to the semantic versioning. The due date of Angular 4 release was…
Continue reading “Top 8 Resources to Explore Angular 4 – Hacker Noon”

AngularJS + Spring security remember me feature

  • I’m doing application which is build on spring boot + Angularjs Authentication I did according to this blog post: So I got basic user/password or OAuth2 enabled

    I would like to add Remmeber me functionality to it.

  • I have AuthService

    And in login controller I got it handled with :

    On Spring security I got it set as usually I was setting it, ( part of config)

    but my guess is it expect post call with remember-me and not basic auth

    How can it be tweaked to be able to use remember me ?

  • Can I just execute call via post to login with j_username j_password and remember-me ?

I’m doing application which is build on spring boot + Angularjs
Authentication I did according to this blog post: https://spring.io/guides/tutorials/spring-security-and-angular-js/
So I got basic user/password or OAuth2 enabled
Continue reading “AngularJS + Spring security remember me feature”

AngularJS 2.0 From The Beginning

#AngularJS 2.0 From The Beginning - #ngForm - Day 16 by @debasiskolsaha cc @CsharpCorner

  • So far, we have discussed about data binding, input properties, output properties, pipes, viewchild, Directives, Services including routes and template based form binding, using ngForms in Angular 2.0.
  • Now, in this article, I will discuss how to create model based form, using Angular form module in Angular 2.0.
  • In my previous article, I already discussed about the template driven form binding in Angular 2.0.
  • Now, in this article, we will discuss about the Model Driven or Reactive Form binding in the Angular 2.0.
  • To begin, we must first ensure that we are working with the right Directives and the right classes in order to take advantage of procedural forms.

In this article, we will discuss model based form binding in Angular 2.0.
Continue reading “AngularJS 2.0 From The Beginning”

Using Angular 2 Patterns in Angular 1.x Apps

Using Angular 2 Patterns in Angular 1.x Apps course by @simpulton #angularjs

  • In this course, you are going to take a close look at Eggly, an Angular 1.
  • x application for organizing bookmarks, and build it using modern patterns and practices, inspired by Angular 2’s recommended architecture.
  • You will learn how to leverage ES6 in your Angular 1 applications through Babel, and fully understand the core patterns that are used in a composed modular web application.
  • This course will teach you how to leverage your existing knowledge of Angular, while preparing your mind (and applications!)
  • If you are interested, there is a companion guide that digs deeper into the patterns found in this course and Angular 2.

Implementing modern component-based architecture in your new or existing Angular 1.x web application is a breath of fresh air.

In this course, you are going to take a close look at Eggly, an Angular 1.x application for organizing bookmarks, and build it using modern patterns and practices, inspired by Angular 2’s recommended architecture.

You will learn how to leverage ES6 in your Angular 1 applications through Babel, and fully understand the core patterns that are used in a composed modular web application.

This course will teach you how to leverage your existing knowledge of Angular, while preparing your mind (and applications!) for the future.

If you are interested, there is a [companion guide](http://www.angular2patterns.com/) that digs deeper into the patterns found in this course and Angular 2.

Continue reading “Using Angular 2 Patterns in Angular 1.x Apps”