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
Alex en_US # Most people recognize me by my voice. | |
Alice it_IT # Salve, mi chiamo Alice e sono una voce italiana. | |
Alva sv_SE # Hej, jag heter Alva. Jag är en svensk röst. | |
Amelie fr_CA # Bonjour, je m’appelle Amelie. Je suis une voix canadienne. | |
Anna de_DE # Hallo, ich heiße Anna und ich bin eine deutsche Stimme. | |
Carmit he_IL # שלום. קוראים לי כרמית, ואני קול בשפה העברית. | |
Damayanti id_ID # Halo, nama saya Damayanti. Saya berbahasa Indonesia. | |
Daniel en_GB # Hello, my name is Daniel. I am a British-English voice. | |
Diego es_AR # Hola, me llamo Diego y soy una voz española. | |
Ellen nl_BE # Hallo, mijn naam is Ellen. Ik ben een Belgische stem. |
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
console.log(ghost); | |
// ReferenceError: ghost is not defined. |
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
console.log(ghost); | |
// ReferenceError: ghost is not defined |
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
var text = 'Some text'; | |
function showText () { | |
alert(text); | |
} | |
showText(); // Alert “Some text” |
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('capitalize', []) | |
.filter('capitalize', function() { | |
return function(str) { | |
return (!!str) ? str.replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();}) : ''; | |
}; | |
}); | |
})(); |
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 Filter to Remove White Spaces in Expression | |
* | |
* usage: {{ text | whitespace:'str' }} | |
* the argument is optional, the default value is null. | |
* white spaces will be replaced by 'str'. | |
* | |
*/ | |
app.filter('whitespace', function () { |