These are chat archives for jadjoubran/laravel5-angular-material-starter

28th
Jul 2016
TarekDeeb
@TarekDeeb
Jul 28 2016 08:42
Got another (potentially stupid) question. I'm trying to use <md-icon> but it's not working. Do I have to import an icon pack?
Allan Alvarez Ortiz
@flick36
Jul 28 2016 17:54
@TarekDeeb yes you do https://material.angularjs.org/latest/api/directive/mdIcon
  • Load the font library. e.g. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  • Use either (a) font-icon class names or (b) font ligatures to render the font glyph by using its textual name
  • Use <md-icon md-font-icon="classname" /> or
    use <md-icon md-font-set="font library classname or alias"> textual_name </md-icon> or
    use <md-icon md-font-set="font library classname or alias"> numerical_character_reference </md-icon>
Jesús López Morales
@jeslomo
Jul 28 2016 18:25
Hi, i've been thinking about MVC and i dont know how to act the part of the models in the front (angular sections)
Each component have his controller, but when the user do login, the info normally is saved in session
Here can use "localStorage"
but i think that there are a better solution
what is your opinion?