MEAN.js and MEAN.io Differences between
This article is translated from: Difference between MEAN.js and MEAN.io
I wanted to use the MEAN JavaScript Stack, but I noticed that there are two different stacks with either their own website and installation methods: mean.js and mean.io . I would like to use the mean JavaScript stack, but I ...
Posted by jimmy2gurpreet on Mon, 15 Jun 2020 07:54:59 +0200
AngularJS dynamic load Controller
We encapsulate the implementation of dynamic loading Controller method into a general module, and name the module ngCommon.
(function (angular) {'use strict';
var CommonApp = angular.module('ngCommon');
...
})(angular);
Next, we implement a dynamic js loading method $require.
/* Record the loaded js */
var loaded = {};
...
Posted by bastienvans on Sat, 04 Apr 2020 17:24:02 +0200
Angular JS 1.5.8 - Controller and Scope
Controller and Scope
Controller
Create and use controllers
angular.module("exampleApp", [])
.controller("simpleCtrl", function ($scope) {
$scope.setAddress = function (type, zip) {
$scope[type] = zip;
}
$scope.copyAddress = function () {
$scope.shippingZip = $scope.billingZip;
}
})
Controllers are cre ...
Posted by ckuipers on Sun, 19 Jan 2020 17:07:14 +0100
angularJS simple query
Recently, angularjs just contacted has a little gap with angular4. Let's share the simple query of the editor.
The query data is probably such a display mode, and the query is also a simple input input input box
In this case, the first step is to obtain data in service:
getidnum: function (idnum) {
var deferred = $q. ...
Posted by js_280 on Thu, 26 Dec 2019 20:00:14 +0100
Drag and drop sorting of AngularJS (ngDraggable.js)
ngDraggable.js is a relatively simple and practical angularJS drag plug-in. With some encapsulated custom instructions, it can quickly carry out some drag application development. First, some basic concepts are introduced;
Ng drop: whether drag elements are allowed
Ng drop success ($data, $event): drag the callback put in by the element; $ ...
Posted by DJ_CARO on Sat, 30 Nov 2019 06:15:46 +0100
[service VS factory VS provider in AngularJS] - the difference between them, do you know?
Before introducing the AngularJS custom service, let's take a look at AngularJS.~
People who have learned HTML know that HTML is a very good declarative language for pseudo static text display design, but it is weak to build WEB applications.
AngularJS is designed to overcome the shortcomings of HTML ...
Posted by BoxingKing on Sun, 27 Oct 2019 03:31:25 +0100
npm usage tutorial
NPM
What's this
npm is to Node.js, just as pip is to Python, gem is to Ruby, and pear is to PHP.npm is the official package management tool provided by Node.js. It has become the standard platform for Node.js package publishing, dissemination and dependency control. npm provides command-line tools to make it easy to download, install, upgrade, ...
Posted by SBro on Sun, 05 May 2019 23:40:02 +0200