Skip to content

Commit d26c1f0

Browse files
committed
[it.IT] PR johnpapa#473
Updated as PR johnpapa#473 "formatting"
1 parent d590f61 commit d26c1f0

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

i18n/it-IT.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,16 @@ Invece usa la più semplice sintassi setter.
249249
- Setta solo una volta e prendi (get) per tutte le altre istanze.
250250

251251
*Perché?*: Un modulo dovrebbe essere creato solamente una volta, quindi recuperato da lì in avanti.
252-
253-
- Usa `angular.module('app', []);` per settare un modulo.
254-
- Usa `angular.module('app');` per prendere (get) un modulo.
252+
253+
```javascript
254+
/* consigliato */
255+
256+
// per creare un modulo
257+
angular.module('app', []);
258+
259+
// per recuperare un modulo
260+
angular.module('app');
261+
```
255262

256263
### Funzioni con un nome vs funzioni anonime
257264
###### [Stile [Y024](#stile-y024)]

0 commit comments

Comments
 (0)