This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Simple Leaflet Map</title> | |
| <meta charset="utf-8" /> | |
| <link | |
| rel="stylesheet" | |
| href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" | |
| /> | |
| </head> |
| @media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
| @media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
| @media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
| @media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
| @media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
| @media (min-width:1281px) { /* hi-res laptops and desktops */ } |
| angular.module('services', []) | |
| .factory('State', function ($rootScope) { | |
| 'use strict'; | |
| var state; | |
| var broadcast = function (state) { | |
| $rootScope.$broadcast('State.Update', state); | |
| }; | |
| var update = function (newState) { |