Study about jasmine js and apply it for angularjs