Your Choice JavaScript News

Angular News Wednesday, January 24

Angular News TLDR / Table of Contents

Score: 69000
Tweeted At: Tue Jan 23 17:01:03 +0000 2018
Publish Date: 2018-01-21T06:01:04+00:00
Author: {{Node.Authors[0].Realname }}

  • Spring Boot and Angular are two of my favorite projects, so I figured I’d write y’all a guide to show you how to build and secure a basic app using their latest and greatest releases.
  • You’ll also learn how to secure your application using Okta’s Spring Boot starter and Angular SDK.
  • Add a   class (in  ) that returns a list of cool cars to display in the Angular client.
  • If you restart your server app and hit   with your browser, or a command-line client, you should see the filtered list of cars.
  • To enable CORS on the server, add a   annotation to the  add it to   so you can communicate with its endpoints when the server, refresh the client, and you should see the list of cars in your browser.

Tags: Spring Boot, Angular, Angular SDK, spring boot starter, Angular CLI

Score: 55000
Tweeted At: Wed Jan 24 09:03:06 +0000 2018
Publish Date: 2018-01-24T08:59:47.736000+00:00
Author: Madhu Sudhanan

  • Angular Component styling — Using shadow piercing descendant selectorIn this post, I am going to share how the shadow piercing descendant selector helped me with style scoping problem.Well, I tried to create Angular wrapper for one of a JQuery plugin.
  • I can set the custom style when the ViewEncapsulation is set to None.So I started to search for a solution to apply the custom style in ViewEncapsulation.Emulated mode.@Component({ selector: ‘my-app’, template: ` div h2Hello {{name}}/h2 /div `, styles: [`h2 { color: red }`]})export class App { name:string; constructor() {…
  • So the attributes used to emulate style scoping is not added to the elements.To illustrate this, check the below code example in which the dynamic h2 element is appended in the ngAfterViewInit lifecycle.@Component({ selector: ‘my-app’, template: ` div h2Hello {{name}}/h2 /div `, styles: [`h2 { color: red }`]})export class App…
  • v${VERSION.full}` this.ele = eleRef; } ngAfterViewInit() { let dynam = document.createElement(‘h2’); dynam.innerHTML = ‘Dynamic content ‘ +; }}The result will be as follow, you can see that the style from the component is not applied to the dynamically inserted h2 element.Dynamic element insertion — style is not appliedShadow piercing descendant selector to…
  • This selector will apply the parent component styles to the descendant child components.The encapsulation mode should be Emulated to use this feature in Angular.Now the component style should be modified as follows::ng-deep h2 { color: red}The result will be as followsDynamic element insertion — with ::ng-deep

Tags: descendant selector, descendant child components, shadow DOM concept, component style, parent component styles

Score: 45000
Tweeted At: Wed Jan 24 11:30:03 +0000 2018
Publish Date: 2017-12-19T08:00:00+00:00
Author: Jecelyn Yeen

  • We’ve talked on this a bit in our other Angular styles article: Using Sass with the Angular CLI – Let’s explore another option for importing style files: – A Sass Variables Sample – Let’s say you have a _variables.scss in your src/stylings folder: – // your folder structure – -…
  • /stylings/ – – h1 { – color: $brand-color; – } – What if you have duplicated file name in paths?
  • /stylings2″ – ] – } – – }] – } – Update your hello.component.scss file, – // hello.component.scss – @import “variables”; – – h1 { – color: $brand-color; – font-size: $font-size-large; – } – Restart your dev server.
  • angular.cli.json file to include bootstrap path, – { – … – “apps”: [{ – “root”: “src”, – … – “stylePreprocessorOptions”: { – “includePaths”: [ – “.”
  • /stylings”, – ] – } – – }] – } – Then, in your hello.component.scss, you can refer to the bootstrap variables file like the following, – // hello.component.scss – @import “variables”; – @import “stylings2/variables”; – @impoer “bootstrap/variables”; – – h1 { – color: $brand-color; – font-size: $font-size-large; – font-family:…

Tags: Angular CLI, Angular CLI configuration, typical Angular project, Angular styles article, extra base paths

Score: 35000
Tweeted At: Wed Jan 24 12:40:00 +0000 2018
Publish Date:

  • In “Source Location” paste the angular-seed clone URL that you’ve just copied, then on the “Target Directory” field type in or browse to the folder that you want to store the repository in on your local machine.
  • In the browser type in the http://localhost:8000, you will see that angular-seed is hosted on the web server – – angular-seed is an AngularJS application skeleton template.
  • In the command line navigate to the angular-seed git in your local machine, then type “npm install” without the double quotes.
  • bowerrc file and change the directory to “app/js/lib”, the final markup should look like the followingNote: If you need more information on bower you can visit this blog that I wrote about it12.
  • After “npm install” command finish executing type in “npm start” in the command line to have nodejs start a local web server

Tags: Open Git GUI., Git GUI click, application skeleton template, boiler plate template, Github angular-seed page

Score: 30750
Tweeted At: Tue Aug 01 23:25:25 +0000 2017
Publish Date:
Author: Log In

  • As a person new to both JavaScript and Angular 2 I found this course extremely helpful because Max does a great job of explaining all the important concepts behind the code.
  • This Course uses TypeScript – – TypeScript is the main language used by the official Angular team and the language you’ll mostly see in Angular tutorials.
  • The powerful features and capabilities of Angular allow you to create complex, customizable, modern, responsive and user friendly web applications.
  • Due to the drastic differences between Angular 1 and Angular (=Angular 4) you don’t need to know anything about Angular.js to be able to benefit from this course and build your futures projects with Angular.
  • Get a very deep understanding of how to create Angular applications – – This course will teach you all the fundamentals about modules, directives, components, databinding, routing, HTTP access and much more!

Tags: Angular, popular Angular course, Angular applications, Angular App, official Angular team

Score: 29500
Tweeted At: Tue Jan 23 15:30:09 +0000 2018
Publish Date:
Author: Shawn Wildermuth

  • Building a web app is a complex task that requires knowledge of many different skills.
  • In this course, Building a Web App with ASP.NET Core, MVC, Entity Framework Core, Bootstrap, and Angular, you’ll learn how to create the server-side code, client-side code, and design the look of the web app.
  • First, you’ll explore ASP.NET Core 2 and MVC 6 for building the server-side code.
  • Finally, you’ll delve into using HTML, CSS, and Bootstrap for the design of your web app.
  • When you’re finished with this course, you’ll have a foundational knowledge of ASP.NET Core 2 that will help you as you move forward to build web applications.

Tags: web app, ASP.NET Core, client-side code, server-side code, Entity Framework Core

Score: 7750
Tweeted At: Tue Jan 23 14:55:23 +0000 2018
Publish Date: 2018-01-23T14:51:53.323000+00:00
Author: Victor Savkin

  • In this article, we will set up a development workflow for this use case.ExampleSay the architecture team is working on a library called sharedlib which they develop and deploy independently.Next, there is a department building all their applications in an Nx Workspace And the applications use sharedlib.Using Git Submodules and…
  • So we can make a change to sharedlib and observe the change in workspace without having to redeploy anything.Read more about Yarn workspaces.
  • If you have to use npm instead of yarn, use Lerna to implement a similar setup.After creating the root package.json, run yarn to install the dependencies for both sharedlib and workspace.The result should look like this: 3: Make a change to sharedLet’s run yarn compile from within the sharedlib directory (what…
  • Similarly, if we run ng test and then make changes to sharedlib, karma will pick up the changes automatically.Wrapping UpEven though we were able to develop the two packages side by side, this is not nearly as powerful as having sharedlib as part of workspace.Creating other shared libraries (e.g., by…
  • Developers need to understand git submodules and yarn workspaces.We also need to make sure sharedlib and workspace use compatible (ideally the same) versions of third-party libraries.

Tags: yarn workspaces, new git repository, Nrwl Nx, single Nx workspace, Nrwl Nx developers

Score: 2500
Tweeted At: Wed Jan 24 00:00:02 +0000 2018
Publish Date:

  • The product(s) you are about to install leverage the Web Platform Installer (WebPI) for installation.
  • By downloading and using the Web Platform Installer (WebPI), you agree to the license terms and privacy statement for WebPI.
  • This installer will contact Microsoft over the Internet to retrieve product information.
  • WebPI uses the Microsoft Customer Experience Improvement Program (CEIP), which is turned on by default, see privacy statement for more information.
  • To view which software uses CEIP, see here.

Tags: ASP.NET Core, ASP.NET Core Identity, Start learning ASP.NET, ASP.NET Web API, Entity Framework Core

Score: 300
Tweeted At: Wed Jan 24 06:00:13 +0000 2018
Publish Date:


    Score: 78
    Tweeted At: Tue Jan 23 19:24:57 +0000 2018
    Publish Date:

      Tags: open source frameworks, modern web frameworks, web platform, modern web platform, core team members

      Top Angular Courses

      Angular 5 (formerly Angular 2) - The Complete Guide (139,105 students enrolled)

      By Maximilian Schwarzmüller
      • Develop modern, complex, responsive and scalable web applications with Angular 4
      • Fully understand the architecture behind an Angular 4 application and how to use it
      • Use their gained, deep understanding of the Angular 4 fundamentals to quickly establish themselves as frontend developers
      • Create single-page applications with on of the most modern JavaScript frameworks out there

      Learn more.

      The Complete Angular Course: Beginner to Advanced (40,747 students enrolled)

      By Mosh Hamedani
      • Establish yourself as a skilled professional developer
      • Build real-world Angular applications on your own
      • Troubleshoot common Angular errors
      • Master the best practices
      • Write clean and elegant code like a professional developer

      Learn more.

      Learn and Understand AngularJS (66,998 students enrolled)

      By Anthony Alicea
      • Learn fundamental Javascript concepts that power AngularJS.
      • Write quicker, better AngularJS code by discovering how AngularJS itself is built.
      • Become fluent in AngularJS terminology, such as dependency injection, services, directives, transclusion, and more.
      • Realize the power of dependency injection, and how AngularJS accomplishes it.
      • Design custom directives and save time and energy with easily reusable components.
      • Understand what a Single Page Application (SPA) is, and how they work.
      • Build a Single Page Application (SPA) in AngularJS.
      • Be the coder that explains AngularJS to everyone else, because you understand it better than anyone else.
      • Get new free lectures during 2015, keep up with the development of AngularJS 2.0, and get a MASSIVE discount on a future AngularJS 2.0 course in 2016!

      Learn more.

      Angular 5 NgRx Store Masterclass & FREE E-Book (3,038 students enrolled)

      By Angular University
      • Build a Chat Application From top to bottom!
      • Understand the Flux Architecture, its benefits, strong points and most beneficial use cases
      • Understand Single Store Architecture solutions like Redux or Ngrx Store
      • Know all the usual notions of Store solutions, like Actions and Reducers
      • Know how to model the application state of a single store architecture, leveraging Typescript custom types to do so
      • Know the difference between a model and a view model and what to put inside the store
      • know how to derive a view model from a model and how to do that
      • understand the notion of selector in the context of store solutions
      • know the difference between smart components and presentation components
      • know how to build smart components using the Ngrx Store library
      • know how to use the Ngrx Effects library
      • know not only the Ngrx libraries but know also how they all fit together and what are the benefits of a store solution
      • know how to setup the Ngrx store developers tools
      • know how to debug RxJs applications in general

      Learn more.

      Angular Front To Back (6,984 students enrolled)

      By Brad Traversy
      • Build amazing single page applications using Angular 5+
      • Master Angular concepts
      • Understand the file and folder structure of an Angular application
      • Build a client management application with authentication and Firebase's Firestore
      • Integrate Bootstrap 4 into Angular projects

      Learn more.

      Angular Crash Course for Busy Developers (44,316 students enrolled)

      By Mosh Hamedani
      • Master the essential Angular concepts
      • Troubleshoot common runtime errors
      • Write cleaner, more maintainable code

      Learn more.

      Angular (Angular 2+) & NodeJS - The MEAN Stack Guide (26,806 students enrolled)

      By Maximilian Schwarzmüller
      • Build real Angular + NodeJS applications
      • Understand how Angular works and how it interacts with Backends
      • Connect any Angular Frontend with a NodeJS Backend
      • Use MongoDB with Mongoose to interact with Data on the Backend
      • Use ExpressJS as a NodeJS Framework
      • Provide a great user experience by using Optimistic Updating on the Frontend
      • Improve any Angular (+ NodeJS) application by adding Error Handling

      Learn more.