Angular Directive

There are 3 types of directives: Components Attribute Directives Structural Directives 1. Components – A component directive requires a view along with its attached behaviour.This

Angular Notes

const EventEmiiter = require(‘events’); const myEmitter = new EventEmiiter(); myEmitter.on(‘newSale’, stock => { console.log(`Total No of Stocks are ${stock}`) }) myEmitter.emit(‘newSale’, 9) =============== const EventEmiiter

FileUpload Mean Stack – Part 2

package.json { “name”: “serverfileupload”, “version”: “1.0.0”, “description”: “”, “main”: “app.js”, “scripts”: { “test”: “echo \”Error: no test specified\” && exit 1″ }, “author”: “”, “license”:

1 2 3 5