angular

AngularJS-UI

Angulajs Run this Commandn in NODEJS: -> To get the folder Structure for Angular

QUICK START

    npm install -g @angular/cli

    ng new my-dream-app

    cd my-dream-app

    ng serve

Install ÑPM nodejs:

    sudo npm install -g @angular/cli

    npm install -g @angular/cli@6.1.1

    ng --version

    ng new angular-crash-todolist


    cd angular-crash-todolist

    code . 

    ng serve --open

command:

        ng new PROJECT-NAME
        cd PROJECT-NAME
        ng serve
        ng help
        ng build

http module:

        app component -ts file -> type scrinting
        app component -spec ts fle ->  testing

componenent.ts:

        has a seletor- 'app-root' - which has html file

     ->   npm install formidable  - file upload

     ->   npm install nodemailer - file mailer

Express.js:

      npm install typescript @types/express @types/multer @types/lokijs @types/del --save-dev

Angular JS:

ng model form:

            ng-empty
            ng-not-empty
            ng-touched
            ng-untouched
            ng-valid
            ng-invalid
            ng-dirty
            ng-pending
            ng-pristine

Follow us on Blog