Browsing Tag

example

Angular Best Practices – Julien Bouteloup – Medium

It’s not finished but it has been into draft mode for the past 2 years now…What we will be talking about:Folders organisation, components architectures, services, controllers, resources, directives, e2e tests, unit tests, tools like…

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…

Angular Best Practices – Julien Bouteloup – Medium

It’s not finished but it has been into draft mode for the past 2 years now…What we will be talking about:Folders organisation, components architectures, services, controllers, resources, directives, e2e tests, unit tests, tools like…

Value and Constant in Angular JS

First, create a script.js and add the following line of code: //script.js (function () { 'use strict'; var app = angular.module('myApp', ); //storing a string in Value app.value('appName', 'Angular JS'); //storing a function in Value…