[AngularJS] Angular repeat not working with directive

2015-06-08 Thread Anthony Pri
http://jsfiddle.net/sevensnake/qgk7871d/4/ trying to get my ng-repeat to work within a bootstrap popover. This works outside of the popover but not now. -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop

[AngularJS] Re: Angular repeat not working with directive

2015-06-09 Thread Anthony Pri
Ok now I know why I need it in a ng-rpeat I need it as array to pass as a collection of data. On Tuesday, June 9, 2015 at 3:59:14 AM UTC-4, Robert STAICU wrote: In your controller you should add this $scope.selectedItems = { id: '1', mytext: 'SomeText', mytexttwo: 'SomeOtherText' }; And

[AngularJS] Re: Angular repeat not working with directive

2015-06-09 Thread Anthony Pri
this works outside the popup unless you have a better way? On Monday, June 8, 2015 at 4:14:51 PM UTC-4, Anthony Pri wrote: http://jsfiddle.net/sevensnake/qgk7871d/4/ trying to get my ng-repeat to work within a bootstrap popover. This works outside of the popover but not now. -- You

[AngularJS] Re: Angular repeat not working with directive

2015-06-09 Thread Anthony Pri
Well it will give me the json value and name so I can pass it to the server. On Monday, June 8, 2015 at 4:14:51 PM UTC-4, Anthony Pri wrote: http://jsfiddle.net/sevensnake/qgk7871d/4/ trying to get my ng-repeat to work within a bootstrap popover. This works outside of the popover

[AngularJS] Multiline text box shows html

2015-06-10 Thread Anthony Pri
I have a textarea style=width: 241px; height: 83px; col=180px rows=3 ng-attr-id={{ 'object-' + q.FileID }} ng-model=q.answer when i submit the text box with breaks or paragraphs i replace the \n with br tag. when i go back and prefill the information from the database. the textbox shows the

Re: [AngularJS] Re: Multiline text box shows html

2015-06-11 Thread Anthony Pri
So this is impossible. On Jun 10, 2015 11:54 PM, Sander Elias sanderel...@gmail.com wrote: Hi Anthony, A textarea will show you what you put in. There is no HTML parsing in there. So if you put in the text br that is exactly what you get. Regards Sander -- You received this message

[AngularJS] AngularJS Service Passing Data Between Controllers

2015-08-31 Thread Anthony Pri
I have a button when click it passes json data of everything within the table. I am trying to click in one controller and use a service to pass the data into the form controller. [code]

Re: [AngularJS] Re: numeric total value

2015-12-30 Thread Anthony Pri
I you have a better way. Would be great thanks. again. On Monday, December 21, 2015 at 9:37:47 AM UTC-5, Anthony Pri wrote: > > if I can have someone come up with better logic for this it will help a > lot. > > On Monday, December 21, 2015 at 9:23:57 AM UTC-5, Anthony Pri wrote:

[AngularJS] numeric total value

2015-12-19 Thread Anthony Pri
Ok tried many ways to get this working and results nothing. ok example group 1 does a total in input box when flag is true. same for group 1 and 2 problem is after the total in the total box I want to change the total. and also if there is a stand a lone group like group 3 and group 4 group 3

Re: [AngularJS] Re: numeric total value

2015-12-21 Thread Anthony Pri
write now if they alter it it is not a problem. I came up with a way they can alter it and save it and it returns. But I was trying to find a more logical way. On Mon, Dec 21, 2015 at 12:20 AM, Sander Elias wrote: > Hi Anthony, > > I think you should use an separate

[AngularJS] Angularjs 2 routerLink

2016-10-05 Thread Anthony Pri
Am using a router link that load new pages in the . Home example The problem i am having is I have a side navigation bar. I set up to load on the same page with a different ( Selector ). So I see the navigation changing but the router-outlet on the other selector does not change. How can I

[AngularJS] Can't resolve all parameters when using ng --prod

2018-10-23 Thread Anthony Pri
ERROR in : Can't resolve all parameters for AuthorizationGuard ./authorization.guard.ts: (?, [object Object]). Not sure how to fix this. import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, CanActivateChild,RouterModule } from "@angular/router"; import {Observable} from

Re: [AngularJS] Re: Can't resolve all parameters when using ng --prod

2018-10-26 Thread Anthony Pri
I fixed it thanks. On Fri, Oct 26, 2018 at 12:15 AM Sander Elias wrote: > Hi Anthony, > > constructor(private allowedRoles:string[], private router:Router) {} > > The injector does not know what to inject for `string[]`. Don't declare > private variables like that. define them on the class

Re: [AngularJS] Re: Can't resolve all parameters when using ng --prod

2018-10-26 Thread Anthony Pri
Define them on the class? do you have example. thanks On Fri, Oct 26, 2018 at 12:15 AM Sander Elias wrote: > Hi Anthony, > > constructor(private allowedRoles:string[], private router:Router) {} > > The injector does not know what to inject for `string[]`. Don't declare > private variables like