Skip to content

Instantly share code, notes, and snippets.

@lablancas
lablancas / angular-uuid.js
Last active December 9, 2016 21:41
angular-talent-demo
// angular-uuid created by Ivan Hayes @munkychop
// MIT License - http://opensource.org/licenses/mit-license.php
// --------------------------------------------------------------
// This is an AngularJS wrapper for the original node-uuid library
// written by Robert Kieffer – https://github.com/broofa/node-uuid
// MIT License - http://opensource.org/licenses/mit-license.php
// The wrapped node-uuid library is at version 1.4.7
function AngularUUID () {
'use strict';
@lablancas
lablancas / app.js
Last active December 9, 2016 22:06
angular.module('angular-talent-demo', ['angular-uuid'])
.controller('TalentFormController', ['$scope', '$timeout', 'TalentService', function($scope, $timeout, TalentService) {
$scope.talent = {};
$scope.formData = {};
$scope.formErrors = {};
$scope.selected = function(obj) {
const selected = [];