{"action":"closed","issue":{"url":"https://api.github.com/repos/zurb/foundation-apps/issues/599","labels_url":"https://api.github.com/repos/zurb/foundation-apps/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-apps/issues/599/comments","events_url":"https://api.github.com/repos/zurb/foundation-apps/issues/599/events","html_url":"https://github.com/zurb/foundation-apps/issues/599","id":70459961,"number":599,"title":"Foundation Apps/Browserify","user":{"login":"philglen","id":1121710,"avatar_url":"https://avatars.githubusercontent.com/u/1121710?v=3","gravatar_id":"","url":"https://api.github.com/users/philglen","html_url":"https://github.com/philglen","followers_url":"https://api.github.com/users/philglen/followers","following_url":"https://api.github.com/users/philglen/following{/other_user}","gists_url":"https://api.github.com/users/philglen/gists{/gist_id}","starred_url":"https://api.github.com/users/philglen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philglen/subscriptions","organizations_url":"https://api.github.com/users/philglen/orgs","repos_url":"https://api.github.com/users/philglen/repos","events_url":"https://api.github.com/users/philglen/events{/privacy}","received_events_url":"https://api.github.com/users/philglen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T16:52:14Z","updated_at":"2015-04-24T22:38:04Z","closed_at":"2015-04-24T22:38:04Z","body":"Hi I am new to Foundation, I am migrating from Bootstrap because your style foundation seems awesome and as I am using a single page Angular App, the foundation-apps seemed to be perfect CSS framework to work with directives.\r\n\r\nHowever when I installed it and tried to require in my main.js file which sets up the Angular App:\r\n\r\n'use strict';\r\n\r\nvar $ = require('jquery'),\r\n    angular = require('angular');\r\n\r\n// angular modules\r\nrequire('angular-ui-router');\r\nrequire('foundation-apps'),\r\nrequire('./templates');\r\nrequire('./controllers/_index');\r\nrequire('./services/_index');\r\nrequire('./directives/_index');\r\n\r\n// create and bootstrap application\r\nangular.element(document).ready(function() {\r\n\r\n  var requires = [\r\n    'ui.router',\r\n    'foundation-apps'.charAt,\r\n    'templates',\r\n    'app.controllers',\r\n    'app.services',\r\n    'app.directives'\r\n  ];\r\n\r\n  // mount on window for testing\r\n  window.app = angular.module('app', requires);\r\n\r\n  angular.module('app').constant('AppSettings', require('./constants'));\r\n\r\n  angular.module('app').config(require('./routes'));\r\n\r\n  angular.module('app').run(require('./on_run'));\r\n\r\n  angular.bootstrap(document, ['app']);\r\n\r\n});\r\n\r\nI get a gulp error:\r\n\r\nCannot find module 'foundation-apps' from '/Users/philglen/Sites/Totemic/app/js'\r\n\r\nAny ideas??\r\n\r\n- Phil"}}