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
// https://developers.google.com/web/tools/chrome-devtools/javascript/snippets | |
const now = new Date(); | |
const hoursWithLeadingZero = `0${now.getHours()}`.slice(-2); | |
const minutesWithLeadingZero = `0${now.getMinutes()}`.slice(-2); | |
document.querySelector('#field-firstname').value = 'PRENOM'; | |
document.querySelector('#field-lastname').value = 'NOM'; | |
document.querySelector('#field-birthday').value = 'DATE DE NAISSANCE (JJ/MM/YYYY)'; | |
document.querySelector('#field-placeofbirth').value = 'LIEU DE NAISSANCE'; |
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 | |
"@ngInject": { | |
"prefix": "ng-inject", | |
"body": [ | |
"/* @ngInject */" | |
], | |
"description": "Add an auto-injection loader comment." | |
}, |
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 IIFE() { | |
'use strict'; | |
///////////////////////////// | |
/* @ngInject */ | |
function TemplateController(Utils) { | |
var vm = this; | |
///////////////////////////// |
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('Services') | |
.service('MyService', MyService); | |
/* @ngInject */ | |
function MyService() |