File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import X2JS from 'xml2js'
19
19
20
20
// fetch blog rss feed
21
21
$http . get ( CONSTANTS . BLOG_LOCATION )
22
- . success ( function ( data ) {
22
+ . then ( function ( data ) {
23
23
// parse the blog rss feed using x2js
24
24
var parseString = X2JS . parseString
25
25
parseString ( data . trim ( ) , function ( err , res ) {
@@ -38,8 +38,7 @@ import X2JS from 'xml2js'
38
38
39
39
deferred . resolve ( result )
40
40
} )
41
- } )
42
- . error ( function ( error ) {
41
+ } , function ( error ) {
43
42
deferred . reject ( error )
44
43
} )
45
44
Original file line number Diff line number Diff line change 51
51
"angular-sanitize" : " ^1.4.9" ,
52
52
"angular-storage" : " 0.0.13" ,
53
53
"angular-touch" : " ^1.4.9" ,
54
- "angular-ui-router" : " ^0.2.16 " ,
54
+ "angular-ui-router" : " ^0.4.2 " ,
55
55
"angularjs-toaster" : " ^1.0.0" ,
56
56
"appirio-styles" : " 0.x.x" ,
57
57
"appirio-tech-ng-iso-constants" : " ^1.0.6" ,
You can’t perform that action at this time.
0 commit comments