September 2017
Intermediate to advanced
450 pages
11h 24m
English
The template tag and attribute have been renamed in Angular 4 to ng-template. While not a fully removed from Angular 4 yet its usage will throw a single exception in your application the first time it is encountered:
The <template> element is deprecated. Use <ng-template> instead (" </div> [WARNING ->]<template #normal_user> <p>You are a normal user</p> </template>"): ng:///AppModule/AppComponent.html@7:2
This change may seem strange at first, but it's actually part of a long-term plan in Angular to allow support for the web components standard which may use the template tag as a generic web component template definition. In any case, updating your application to use ng-template instead is ...
Read now
Unlock full access