Questions tagged [angularjs-components]

Components are a unique type of directive that are configured in a simpler manner, making them well-suited for applications structured around components. Unlike directives, components are not capable of performing any DOM manipulation through the link and compile methods.

Transclusion with multiple slots in AngularJS

Attempting to incorporate a component in AngularJS 1.5.8 with multi-slot transclusion. The test performs well when utilizing a directive, however, with a component, it appears that the slot cannot be located!. This is how the component is declared app. ...

Component does not support camelCase names

My current challenge involves creating a navbar component where I need to share some data from the main page to the component. After spending several hours researching how to use components, I have been unable to find an explanation as to why camelCase var ...

Establishing universal values within AngularJs

Trying to set up a constants js file in angular js for an application and have successfully implemented it with the following code: <code> // app.js angular.module('myApp', [ 'ngCookies', 'ngResource', ...

The AngularJS 1.5 component modal with a callback function is experiencing issues with updating Angular bindings when called multiple times by an embedded object in IE11

Encountering an issue in IE 11 with an Angularjs 1.5 modal component where the binding is not updating as expected when multiple callbacks are made from an embedded object call. The console messages show that the callbacks are being executed, but the templ ...

Passing data from a directive to a controller in AngularJS

Struggling to send a message from a directive to its parent controller, but it's not working. Here is the snippet of HTML: <div ng-controller="Ctrl"> <my-elem/> </div> This is the code in the controller that is supposed to list ...

nested components in AngularJS

I am facing an issue with my two components in HTML where the inner component is not populating using the template specified in its templateUrl property. //first component angular.module('app').component('toolCtrl', { templateUrl: ...