Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
32 views

How can i implement common new Window Component in Angular 15?

I'm using Angular 15. I want to create a new common window component. For example: <div class="detail-icon-container" (click)="windowComponent.openNewWindow()" ></...
김성한's user avatar
0 votes
1 answer
36 views

ng-controller error in index.html "The controller with the name 'MainController' is not registered"

I have been looking for an answer to this for a while now, and at first glance it seems similar to other controller registration issues with angularJS, but there hasn't been a good answer for my ...
Jason Bustard's user avatar
0 votes
0 answers
44 views

Use argument in handler function for Stencil component

In an AngularJS project i use a custom Stencil component called rvn-chip to display teams with the option to remove the team. This is done by the rvnRemove function inside the rvn-chip component, ...
julziemoon's user avatar
1 vote
0 answers
798 views

How to load components dynamically without their Host Wrapper Tag

I'm loading component template during Drop Event using "createComponent()" method of ViewContainerRef class. all works okay but it loads component with it's Host Wrapper (selector) tag. but ...
Harsh Patel's user avatar
  • 1,356
0 votes
2 answers
484 views

Problem when generating the component in Angular

I am facing this issue, I am unable to generate the component in angular, I tried deleting node-modules, tried uninstalling angular cli, again installed.
Ajay Singh's user avatar
0 votes
1 answer
174 views

how to create a function inside the class component in angular 13?

I have code for switch toogle but the problem i cant get rid of the erro says 'unexpected token' its expecting constructor or method within a class. This is Angular component and class that needs to ...
Sandra Jackson's user avatar
1 vote
0 answers
18 views

AngularJS - how can my components pass info to each other?

How can I get a value taken by one of my components to be passed to another component in the same module? I'll try to simplify the code I'm working with to focus entirely on the problem. So say we ...
Mongrel's user avatar
  • 11
0 votes
1 answer
67 views

Creating and calling Angular Services

Good morning, below I made the "if" condition inside ngOnInit in which it solves my problem with routes, in which the user is inside the manage-actives url and if he put a / after and wrote ...
Yegres Nomirk's user avatar
0 votes
1 answer
648 views

Data passing from one component to another component in angular.js (not in angular)

Here I have made a controller Product.js where i have tried to pass the data from Manual PrescrsiptionLeft.tpl.liquid to ManualPrescriptionRight.tpl.liquid. But whenever i have tried to pass the data ...
elon musk's user avatar
0 votes
1 answer
202 views

New Entry Not reflacting in table after inserting New record in CRUD angular app

In Angular 13, I created basic CRUD app of employee. When i insert new data and hit submit it run the createEmployee() service and print data on console. Then it redirect to home page that shows all ...
Anant Doshi's user avatar
1 vote
2 answers
532 views

How to prevent a component from starting/rendering when the required parameters are not filled correctly?

Say I have a component and I have bindings that are not optional, like so angular.module("foo").component("fooComp", { bindings: { notOpt: "<", }, ...
LoyalPotato's user avatar
1 vote
0 answers
122 views

FormControl not patching values to multiple select

I'm working on a angular application but I ran into a problem I cant find the solution to. I'm trying to patch some preselected values to a form control (mat-select multiple) but it just wont show the ...
teodora's user avatar
  • 11
0 votes
2 answers
680 views

How to pass a class member variable to another component angular?

car.ts has "isNewCar" variable in "export class Car{}", and I need to export the "isNewCar" variable to another component carSale.ts which is in a different directory, ...
purpleunicorn's user avatar
0 votes
0 answers
40 views

Angular.js : child not getting parent's variables

I find myself needing to write up this code: vm.model = $scope.$parent.$ctrl.model, in order to access variables that I felt should be readily available in the child. How can I have them injected ...
Eric's user avatar
  • 85
0 votes
1 answer
304 views

AngularJS - Keep route component in cache (keep-alive)

I need to keep the state of a component A in cache, so that when I navigate from A to B or C and I come back to A it does not get re-render again (it also includes a API call in its constructor, so it'...
César Castro Aroche's user avatar

15 30 50 per page
1
2 3 4 5
24