These are chat archives for angular/material

1st
Nov 2015
Sudeep
@sharpshooter90
Nov 01 2015 06:41
Hi folk, Im newbie to angular material, how can I configure fonts globally in material angular ?
Bhupinder Singh
@dynamicsingh
Nov 01 2015 09:24
hello friends, I want to run a javascript function whenever a partial is loaded via routing
please provide the solution
Patrick Finkbeiner
@pfinkbeiner
Nov 01 2015 09:25
This could be your solution $viewContentLoaded
Bhupinder Singh
@dynamicsingh
Nov 01 2015 09:28
I want to run a Jquery function
Would it work ?
@pfinkbeiner
Patrick Finkbeiner
@pfinkbeiner
Nov 01 2015 09:31
Sure, you can listen on that event and fire whatever you want to…
Bhupinder Singh
@dynamicsingh
Nov 01 2015 09:32
thanks @pfinkbeiner
:)
Bhupinder Singh
@dynamicsingh
Nov 01 2015 09:43

app.controller('EventCtrl', ['$routeParams', function($routeParams) {

 $(".parent").fixMe();
 $(".up").click(function() {
 $('html, body').animate({
  scrollTop: 0
 }, 2000);

});

}]);

it runs once but when I revisit the page again after visiting other, It doesnot run
@pfinkbeiner

app.controller('EventCtrl', ['$routeParams', function($routeParams) {

 $(".parent").fixMe();

}]);

this is the one
I want to run this function each time the route is loaded
santhosh H
@santhosh77h
Nov 01 2015 11:38
i'm working on phonegap with materialcss.the thing is i have created child page from my front page i need to create one more child page how can i do that im using angular also
Alexander Sage
@sagea
Nov 01 2015 19:31
Does angular material come with a default theme? I downloaded the repo via bower and no colors seem to show up. I also looked at the css files and they don't seem to have anything color based either.
Figured it out