Skip to content

Instantly share code, notes, and snippets.

@SamDuvall
SamDuvall / states.js
Last active Aug 29, 2015
View State in Angular 1.x
View states.js
var states = {
'users': {
url: '/users',
templateUrl: 'users.html',
controller: 'usersCtrl',
resolve: {
groups: function(Group) {
return Group.query().$promise;
},
users: function(User) {
@SamDuvall
SamDuvall / Bootstrap.html
Last active Aug 29, 2015
2 Column Layout (Bootstrap vs Flexbox)
View Bootstrap.html
<div class="feature">
<div class="container">
<div class="row">
<div class="col-sm-6">
<!--- Image Goes Here --->
</div>
<div class="col-sm-6">
<!--- Text Goes Here --->
</div>
</div>