added ngCookies as a dependency
updated git ignore to include bower_comps
updated state to use . promise on resolve property for state