{:uriI"file:///Users/jaunkst/Docker/alchemy_cms/app/assets/javascripts/alchemy_cms/modules/controllers/editor_ctrl.coffee?type=application/javascript&pipeline=self&id=12977150a189fbc37cd10aa11b759393d5f5a85c3676902ec6c56346ace473eb:ET:load_pathI"=/Users/jaunkst/Docker/alchemy_cms/app/assets/javascripts;F: filenameI"p/Users/jaunkst/Docker/alchemy_cms/app/assets/javascripts/alchemy_cms/modules/controllers/editor_ctrl.coffee;T: nameI"0alchemy_cms/modules/controllers/editor_ctrl;T:logical_pathI"8alchemy_cms/modules/controllers/editor_ctrl.self.js;T:content_typeI"application/javascript;T: sourceI"(function() { angular.module("Editor").controller("EditorCtrl", [ "$scope", "Restangular", function($scope, Restangular) { console.log('EditorCtrl'); $scope.layouts = []; $scope.pages = []; $scope.snippets = []; $scope.options = {}; $scope.summernotes = {}; Restangular.one("summernotes").get().then((function(data) { console.log(data); return $scope.summernotes = data; }), function(error) { return console.log(error); }); Restangular.one("layouts").get().then((function(data) { console.log(data); return $scope.layouts = data; }), function(error) { return console.log(error); }); Restangular.one("pages").get().then((function(data) { console.log(data); return $scope.pages = data; }), function(error) { return console.log(error); }); Restangular.one("snippets").get().then((function(data) { console.log(data); console.log; return $scope.snippets = { items: data }; }), function(error) { return console.log(error); }); return $scope.onSave = function() { return $scope.summernotes.put().then((function(data) { return console.log(data); }), function(error) { return console.log(error); }); }; } ]); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"~file-digest:///Users/jaunkst/Docker/alchemy_cms/app/assets/javascripts/alchemy_cms/modules/controllers/editor_ctrl.coffee;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%' v9n( Ds/tgK: lengthi:integrityI"9sha-256-/8knDXbgEjlumuso1xz1CeK/5JFE7apzL3QVDmdLjeU=;T:dependencies_digest"%}Z،G,m0 bmۈ:idI"E12977150a189fbc37cd10aa11b759393d5f5a85c3676902ec6c56346ace473eb;F: mtimel+]U