Fixed the issues of popups reappearing during location switches.
Removed redundant promise logic in load location data service.
Added popupclose state redirect.
Working on changing the state on popup close, without interfering with the opening of other popups.
Added separate service for the loading of location lists.
Added ngmin to gemfile.
Factored out location data service.
Added ngmin to gemfile.  About to work on  for layer popup.
Removed commented code about replacing the popup html with an ng-include.
Working on getting the location-data.html template to  when loaded by location state.
Working on getting data-location template compiled when loading from templateUrl.
Can't get modals to work.
Added foundation init.
About to convert jquery foundation to use angular directives.
Got modals now working with angular-foundation instead of jquery.  Need to add tranisitions for them.
Modal animations now working, but using CSS animations not ngAnimate.
Removed unused .haml partials.  Blanked out index.haml as it is no longer used.
Changed popup conditional to check for matching slugs instead of business ids.
Switching to use promises instead of event emitters with mapservice.
Converted  events into callable service functions.  Removed rootscope where possible.