Questions tagged [angularjs]

Use for questions about AngularJS, the open-source JavaScript framework.

Filter by
Sorted by
Tagged with
0
votes
0answers
76 views

Magento 2.3.1 Wamp Installation Error [Angular.js]

How to solve the below installation error, System details: * Wamp 3(Windows) * PHP 7.2.14 customize-your-store.js /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for ...
0
votes
0answers
540 views

Response to preflight request doesn't pass access control check

There are many questions about "Access-Control-Allow-Origin" which I applied in htaccess as follows Header set Access-Control-Allow-Origin "*" After applying that I am facing following error: ...
2
votes
1answer
225 views

Mage 2 Headless w/ Angular - Architecture Questions

building a new site using Angular front-end and Mage 2 headless in back-end. Idea is to get all needed data via AJAX calls from Angular to Mage 2 using the REST API... First time doing this, trying ...
0
votes
0answers
45 views

Email Service is communicate Magento to angular front-end

I will make website front-end in angular,but back-end is magento.Please Tell me how to communicate reset password,forgot password and other email-service.
1
vote
0answers
300 views

Magento with angular js

Currently i have developed Magento 2.2 with Angular js 4. i create rest api in magento and angular will get response from magento api. for in future my client want to use Magento 2.2 as a backend with ...
14
votes
5answers
6k views

Why Magento 2 uses Knockout instead of Angular or React

My question is as simple as it says in the title. Its why would Magento choose knockout instead of other frameworks like angular or react? Is there a specific reason? Also is this the right ...
1
vote
0answers
204 views

Shim config to load angular js and dependencies

I have an angular js app which I want to integrate into Magento 2 so I created require-js config like below var config = { paths: { angular: 'Test_Custom/js/angular', ...
1
vote
0answers
81 views

set min and max values for a field dynamically based on the value of drop down selected in magento

https://jsfiddle.net/05Ldg6uv/6/ I tried using angularJs referring the above link but the min and max fields did not get set in magento. $setup->addAttribute('customer', 'nickname', array( '...
1
vote
0answers
456 views

Magento 2 .htaccses configuration for HTTP get request

I try to get list of modules to localhost with angularJS 2 After i check all code possibilities on angularJS 2 - i need some help with configuration. HTTP GET request with AngularJS 2: import { ...
0
votes
1answer
642 views

API - How to get Product or Category by url/path?

I'm working on an Angular 2 App in front of Magento2 and I would like to get URL Info to know where to go in my App and what to load. We already have many Angular 1 Apps working like that with Drupal (...
2
votes
1answer
2k views

Magento 2 & Angular & RequireJS: Firing angular.bootstrap with injected controllers etc

I am looking at implementing angular into the Magento 2 layout structure using requirejs and for individual page dependencies to be injected where required (which requirejs handles very well). The ...