Browsing Tag

templates

Understand Angular Directives in Depth

Angular Directives allow you to add custom behavior to elements and components.Rather than creating a hierarchy of components to try to "extend" behavior, Angular Directives enable you to compose behaviors on to your components.This…

Advanced Forms & Validation in Ionic 2

For example you might have an input field like this: and then in your class definition you could access that value through: In this tutorial we are going to look at a more complex, but also more powerful, way to set up forms in an Ionic 2…

10 Ways to Misuse Angular

import { Component } from selector: 'my-card', template: ` h1 class="card-title"{{ title }}/h1 p class="card-body" ng-content/ng-content /p ` }) export class CardComponent { title = 'Title of card'; } We can style the :host element by…

Angular and Webpack for Modular Applications

How much work would it take for you to move all of your directives and their templates to several different new directories?With webpack, this can be trivial.For example, you don't need to worry about loading your templates in the…

Weekend Coder: Angular Tour of Heroes

x there’s the new Tour of Heroes tutorial for the new Angular.So far the new Angular reminds me of good old Knockout.js in terms of ease of understanding and moving around an application.In the services module in one part of the tutorial I…

Getting Started with Angular Material – codeburst

PS : find here the article Github Repo, i will make sure to update regularly with Angular Material an Angular Project :In order to keep things simple, clean and organized we’ll use the Angular-Cli to achieve most of our creational…

20 Best AngularJS Tools for Web Developers

This is a neat HTML5 mobile UI framework which you can use for mobile app development.Here is an amazing Angular JS framework which includes multiple useful modules.Hybrid Mobile App UI Framework for iOS and Material Design with Angular…