This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"default_line_ending": "unix", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "UTF-8", | |
"font_size": 10, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "all", | |
"editor.cursorBlinking": "smooth", | |
"files.insertFinalNewline": true, | |
"files.trimTrailingWhitespace": true, | |
"css.lint.vendorPrefix": "ignore", | |
"css.lint.duplicateProperties": "warning", | |
"css.lint.zeroUnits": "warning", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('starter.controllers', []) | |
.controller('CategoriesCtrl', ['$scope', 'Categories', function($scope, Categories) { | |
}]) | |
.controller('CategoryCtrl', ['$scope', '$stateParams', 'Categories', function($scope, $stateParams, Categories) { | |
}]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('starter.services', []) | |
.factory('Categories', ['$http', '$q', function($http, $q) { | |
//Endpoints Variables. | |
var categoriesEndpoint = '', | |
categoryEndpoint = ''; | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-tabs class="tabs-icon-top tabs-color-active-positive"> | |
<!-- Articles Tab --> | |
<ion-tab title="Articles" icon-off="ion-ios7-bookmarks-outline" icon-on="ion-ios7-bookmarks" href="#/tab/articles"> | |
<ion-nav-view name="tab-articles"></ion-nav-view> | |
</ion-tab> | |
<!-- Categories Tab --> | |
<ion-tab title="Categories" icon-off="ion-ios7-albums-outline" icon-on="ion-ios7-albums" href="#/tab/categories"> | |
<ion-nav-view name="tab-categories"></ion-nav-view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-view view-title="Articles"> | |
<ion-content> | |
</ion-content> | |
</ion-view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-view view-title="Categories"> | |
<ion-content> | |
</ion-content> | |
</ion-view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-view view-title="Category"> | |
<ion-content> | |
</ion-content> | |
</ion-view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-view view-title="Article Detail"> | |
<ion-content> | |
</ion-content> | |
</ion-view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.constant('config', { | |
serviceBaseUrl: 'http://bobrovdevdev.devcloud.acquia-sites.com/?q=api/', | |
}) |
OlderNewer