{"action":"created","issue":{"url":"https://api.github.com/repos/esvit/ng-ckeditor/issues/44","labels_url":"https://api.github.com/repos/esvit/ng-ckeditor/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/esvit/ng-ckeditor/issues/44/comments","events_url":"https://api.github.com/repos/esvit/ng-ckeditor/issues/44/events","html_url":"https://github.com/esvit/ng-ckeditor/issues/44","id":57309317,"number":44,"title":"Cannot set property 'dir' of undefined ","user":{"login":"msnpr567","id":7993378,"avatar_url":"https://avatars.githubusercontent.com/u/7993378?v=3","gravatar_id":"","url":"https://api.github.com/users/msnpr567","html_url":"https://github.com/msnpr567","followers_url":"https://api.github.com/users/msnpr567/followers","following_url":"https://api.github.com/users/msnpr567/following{/other_user}","gists_url":"https://api.github.com/users/msnpr567/gists{/gist_id}","starred_url":"https://api.github.com/users/msnpr567/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msnpr567/subscriptions","organizations_url":"https://api.github.com/users/msnpr567/orgs","repos_url":"https://api.github.com/users/msnpr567/repos","events_url":"https://api.github.com/users/msnpr567/events{/privacy}","received_events_url":"https://api.github.com/users/msnpr567/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-11T12:23:30Z","updated_at":"2015-06-04T13:03:42Z","closed_at":null,"body":"hello,\r\n\r\nIm using ng-ckeditor in my application. Im using this in angularjs app in sailsjs project. \r\n\r\nGET http://localhost:1337/js/vendor/ckeditor_config.js?t=DAED 404 (Not Found) vendor.min.js:21\r\nGET http://localhost:1337/skins/moono/editor.css?t=DAED 404 (Not Found) vendor.min.js:21\r\nGET http://localhost:1337/lang/en.js?t=DAED 404 (Not Found) vendor.min.js:21\r\nUncaught TypeError: Cannot set property 'dir' of undefined \r\n\r\nIm geting above errors . im using grunt script to build bowercomponents and configure path to ckeditor them in uglify.js.\r\ncan u provide any solution for this? \r\n"},"comment":{"url":"https://api.github.com/repos/esvit/ng-ckeditor/issues/comments/108890448","html_url":"https://github.com/esvit/ng-ckeditor/issues/44#issuecomment-108890448","issue_url":"https://api.github.com/repos/esvit/ng-ckeditor/issues/44","id":108890448,"user":{"login":"swapnilchincholkar","id":562081,"avatar_url":"https://avatars.githubusercontent.com/u/562081?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilchincholkar","html_url":"https://github.com/swapnilchincholkar","followers_url":"https://api.github.com/users/swapnilchincholkar/followers","following_url":"https://api.github.com/users/swapnilchincholkar/following{/other_user}","gists_url":"https://api.github.com/users/swapnilchincholkar/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilchincholkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilchincholkar/subscriptions","organizations_url":"https://api.github.com/users/swapnilchincholkar/orgs","repos_url":"https://api.github.com/users/swapnilchincholkar/repos","events_url":"https://api.github.com/users/swapnilchincholkar/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilchincholkar/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T13:03:42Z","updated_at":"2015-06-04T13:03:42Z","body":"I have rails application with angular.js and I was facing the same issue. \r\nI kept all my ckeditor related files and sub-directories under \"app/assets/javascripts/ckeditor/\"\r\nSo in my layout.html.haml file I added below code to initialise basepath before including application.js\r\n\r\nIn other frameworks what you should do is, before including ckeditor.js and related dependancies, add code to initialise base-path.\r\n\r\n```javascript\r\n%script\r\n  var CKEDITOR_BASEPATH = '/assets/ckeditor/';\r\n= javascript_include_tag 'application'\r\n"}}