No. $ in jQuery is equivalent to jQuery being a variable $scope in angular, $http, etc. are also separate variableswhere $ is just a part of the variable name, such as var $abc = 'abc' where $ will not conflict with $ in jQuery
You can redefine a symbol for jQuery and release the control of $, For example: `var $j = jQuery.noConflict(); $j(".box").on("click",function(){ //code}); `
No.
$
in jQuery is equivalent to
jQuerybeing a variable
$scopein angular,
$http
, etc. are also separate variableswhere $ is just a part of the variable name, such as
var $abc = 'abc'where $ will not conflict with
$
in jQueryI don’t think so
$scope
and$
are two completely different variable names that have no relationship. . .No way~
$scope You can treat it as an object... $ It’s another object
like var abc=1; var a=2; There will be no conflict between these two objects.. .
The
$
in
$scope
is just a prefix of a variable and has nothing to do with$
. The$
in jQuery is a real variable.You can redefine a symbol for jQuery and release the control of $,
For example:
`var $j = jQuery.noConflict();
$j(".box").on("click",function(){ //code});
`