- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
$scope.advert = {
weekDays : [1]
};
$scope.featuredDays = [0, 3, 7, 14];
$scope.days = [];
for (var i = 0; i < 31; i++) {
var day = i + 1;
if (day < 10) {
day = "0" + day;
}
$scope.days.push(day);
}
$scope.monthes = [
{name:"January", value: 0},
{name:"February", value: 1},
{name:"March", value: 2},
{name:"April", value: 3},
{name:"May", value: 4},
{name:"June", value: 5},
{name:"July", value: 6},
{name:"August", value: 7},
{name:"September", value: 8},
{name:"October", value: 9},
{name:"November", value: 10},
{name:"December", value: 11}
];
$scope.years = [2016,2017, 2018, 2019, 2020, 2021];
AngularJS. No idea
dgkj 30.11.2016 11:52 # −1
AnalniyTerzatel 30.11.2016 17:14 # −2
roman-kashitsyn 01.12.2016 15:41 # 0
features, scopes, names, values, pushes
monthes, dayes, weekes, yeares
AnalniyTerzatel 01.12.2016 15:51 # −2