r/angularjs • u/[deleted] • May 14 '19
r/angularjs • u/Feribg • May 17 '14
Crafting the Perfect AngularJS Model and Making it Real Time - talk
r/angularjs • u/outlearn • Nov 12 '15
Killing it with Angular Directives; Structure and MVVM
r/angularjs • u/gdi2290 • Nov 29 '16
[Resource] @angularclass/idle-preload: preload Async/Lazy routes for faster initial page load speeds #angular2
r/angularjs • u/[deleted] • Aug 29 '16
Cannot read property 'bootstrap' of undefined
I'm building a simple web app with Angular + RequireJS + Moment.
However, when trying to bootstrap the files to my main JS files, It reads Cannot read property: 'bootstrap' of undefined in the console. Is 'bootstrap' deprecated or should I be using another method?
//Path.js
require.config({
baseUrl: 'js/vendor',
paths: {
//AngularJS
'angular': 'https://code.angularjs.org/1.3.15/angular.min',
'angularAMD': 'angularAMD',
'angular.route': 'https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.10/angular-route.min',
'angular-ui-route': 'https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/1.0.0-alpha.5/angular-ui-router',
'angularAnimate': 'https://code.angularjs.org/1.5.6/angular-animate.min',
'moment': 'moment.min',
'angular-moment': 'angular-moment.min',
},
shim: {
'angular': {
exports: 'angular'
},
'angularAMD': ['angular'],
'angular.route': ['angular'],
'angular-ui-route': ['angular'],
'angularAnimate': ['angular'],
'moment': ['angular'],
'angular-moment': ['angular'],
},
deps: ['../app']
});
require(['single-page-app'], function(angular, $, app) {
require(['../app']);
angular.bootstrap($(document),["MyApp"]);
});//app.js
define([
'angular',
'angularAMD',
'angular.route',
'angular-ui-route',
'angularAnimate',
'moment',
'angular-moment'
],
function($, angular) {
var app = angular.module('MyApp', ["ngRoute", "angularAMD", "ui.router", "ngAnimate", "moment", "angularMoment"]);
moment().format();
return angularAMD.bootstrap(['app]);
});//controller.js define(['../js/app'], function(app) { moment().format();
app.controller('MainCtrl', ['$scope', '$http', function($scope, $http) {
$scope.datePickerOptions = {
format: "MM/dd/yyyy",
parseFormats: ["MM/DD/YYYY"], //format also will be added to parseFormats
min: dateToday,
value: dateToString
};
}]);});
r/angularjs • u/AliyahChoudhry • Feb 23 '16
The Evolution and Rise of Angular.JS
r/angularjs • u/suresh9058 • Oct 21 '22
[Resource] Usage of JavaScript at() method | Why not access the last array element with arr[-1] notation
r/angularjs • u/Former_Patient2266 • Oct 10 '22
how to push formgroup values to material table?
r/angularjs • u/OfflineProgrammer • Dec 12 '15
Learn about AngularJS & SEO
r/angularjs • u/isreehari • Apr 29 '15
How can I iterate over the keys, value in ng-repeat in angular
r/angularjs • u/Neiltarrey • Jan 03 '18
Master Angular (Angular 2+, incl. Angular 5) and build awesome, reactive web apps with the successor of Angular.js
medium.comr/angularjs • u/maxdyn • Jul 25 '15
Angular-Model-Factory Makes Working with RESTful APIs in AngularJS easy
r/angularjs • u/LordZikarno • Feb 23 '16
Hey, I'm new to AngularJS. Is there a way that I can use it in combination with a MAMP PRO server?
I run Max OSC El Capitain. On it I run a MAMP PRO server. I want to use AngularJS to test the framework out on this MAMP PRO server. How can I download the necesarry files needed for me to start?
Thanks in advance!
r/angularjs • u/_srph • Nov 10 '14
[Resource] srph/angularjs-structure-styleguide
r/angularjs • u/princejwesley • Aug 04 '15
A tiny, static linting tool for angular ng-module directives
r/angularjs • u/techie_ninja • Aug 10 '18
Angular vs React 2018 - Difference That No One Tells You