This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
angular.module('angularModelTest').factory('Account', AccountModel); | |
function AccountModel() { | |
var defaults = { | |
name: 'Unnamed Account' | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('utilsModule').filter("megaNumber", () => { | |
return (number, fractionSize) => { | |
if(number === null) return null; | |
if(number === 0) return "0"; | |
if(!fractionSize || fractionSize < 0) | |
fractionSize = 1; | |
var abs = Math.abs(number); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker="upload files"> | |
Open Meplis Files | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker> | |
Open Meplis Files | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker="url" | |
url="{ providers: 'youtube vimeo' }"> | |
Media Url | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker="url"> | |
Media Url | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker="upload" | |
upload="{ | |
multiple: 8, | |
types: 'jpg jpeg !png', | |
sizeLimit: 4, | |
path: 'App/Filepicker Demo' | |
}"> | |
Upload a File | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker="upload" | |
upload="{ path: 'Apps/Filepicker Demo' }"> | |
Uploads a File | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker="files"> | |
Open Meplis Files | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button meplis-filepicker="files" | |
files="{ multiple: 5, types: 'jpg jpeg !gif' }"> | |
Open Meplis Files | |
</button> |