Skip to content

Instantly share code, notes, and snippets.

View ECorreia45's full-sized avatar
🦾
Building the Next Big Thing

Elson Correia ECorreia45

🦾
Building the Next Big Thing
View GitHub Profile
.factory('FolderObject', ['$rootScope', '$interval', '$log', 'ProjectFolderService', 'WebSocketService', function($rootScope, $interval, $log, ProjectFolderService, WebSocketService) {
function FolderObject(projectId, item, basic) {
var self = this;
var pendingCompleteCheck = 0;
self.projectId = projectId;
self.loadParents = function(parentFolder) {
if (!_.isNil(parentFolder)) {