Wednesday, January 25, 2017

Tuesday, January 24, 2017

Why angular and angular 2?








Looping in Angular 2 using *ngFor directive

The NgFor directive instantiates a template once per item from an iterable.

In Es 2015 we have  "for..of " : loops through the properties of the array
and "for..in"  :loops through the index of the array.



let keyword creates a template input variable

Hide files in vs code



We can easily hide files in vscode .
  1. Click on file--> preferences --> work space settings
  2. Place your settings in settings.json
       

Scala in a nutshell


           
  • Functional programming language.Functions are first-class objects. Compose them with guaranteed type safety. Use them anywhere, pass them to anything.
  • Built for scalability. Scala is an acronym for “Scalable Language”.
  • Scala runs on the JVM, so Java and Scala stacks can be freely mixed for totally seamless integration
  • Language which can be used with Apache spark
  • Don’t work for the type system. Let the type system work for you

About Big data


        
                                   


       BigData

    • Term used to describe large volume of data.Both structured and unstructured data that include a business on day to day basis.
    • Can be analyzed for insights that lead to better decisions and strategic business moves.
    • Is in existence from many years. Due to cheap hardware and open source solution to the problem and communities it is getting popular
   

Data binding in angular 2



  Data binding is done to coordinate communication between a component and its template . 
  There are  four types of data binding