Skip to content

Instantly share code, notes, and snippets.

@alexcastillo
Created January 7, 2015 12:34
Show Gist options
  • Save alexcastillo/9a074bdc03eb1e4c858b to your computer and use it in GitHub Desktop.
Save alexcastillo/9a074bdc03eb1e4c858b to your computer and use it in GitHub Desktop.
AngularCSS - SMQ
$routeProvider
.when('/tickets', {
templateUrl: 'tickets/tickets.html',
controller: 'ticketsCtrl',
css: [
{
href: 'tickets/tickets.mobile.css',
media: '(max-width: 480px)'
}, {
href: 'tickets/tickets.tablet.css',
media: '(min-width: 768px) and (max-width: 1024px)'
}, {
href: 'tickets/tickets.desktop.css',
media: '(min-width: 1224px)'
}
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment