Coder Social home page Coder Social logo

Comments (8)

ssuhas76 avatar ssuhas76 commented on May 17, 2024 2

Yup...It is working now!! Thanks a lot

from angular-gettingstarted.

DeborahK avatar DeborahK commented on May 17, 2024

The favicon.ico file is in the root folder of the application. Just replace it with whatever icon you want for your application.

from angular-gettingstarted.

ssuhas76 avatar ssuhas76 commented on May 17, 2024

I replaced the favicon and it is working now. But I am still not sure how Acme favicon shows up for my app. Both are in different folder but the URL is the same. I run apps at different times of course. Is it a caching issue?

from angular-gettingstarted.

DeborahK avatar DeborahK commented on May 17, 2024

Maybe a caching issue? When you run the application, open the developer tools, click the Network tab, and check the "Disable cache" button. Then see if that changes what you are seeing.

from angular-gettingstarted.

DeborahK avatar DeborahK commented on May 17, 2024

Can I close this issue then at this point?

from angular-gettingstarted.

ssuhas76 avatar ssuhas76 commented on May 17, 2024

Hi Deborah,

Is it possible to have more than on pipes. In the ACM project we created a custom pipe to filter with a string. Can we write another custom pipe to sort by value of amount?

from angular-gettingstarted.

DeborahK avatar DeborahK commented on May 17, 2024

Yes, you can write multiple pipes. Or you can write one pipe that takes in multiple criteria.

return value.filter((acct: IAcct) => (field1Filter ? acct.field1.toLocaleLowerCase().indexOf(field1Filter) !== -1 : true)
            && (field2Filter ? acct.field2.toLocaleLowerCase().indexOf(field2Filter) !== -1 : true)
            && (field3Filter ? acct.field3.toLocaleLowerCase().indexOf(field3Filter) !== -1 : true)
            && (field4Filter ? acct.field4.toLocaleLowerCase().indexOf(field4Filter) !== -1 : true))

from angular-gettingstarted.

ssuhas76 avatar ssuhas76 commented on May 17, 2024

OK....I also meant multiple pipes in a signle file? Like one for filtering text and one for sorting based on amount.

Will the below code work?

@pipe({

)}
export class KickStarterFilterPipe implements PipeTransform{

//code for filtering text
}

@pipe({

)}
export class KickStarterSortPipe implements PipeTransform{
//code for sorting product based on amount
}

P.S. Is it OK if I ask questions here because this is not an issue. I am just asking for extra information since the discussion page has been disabled o Pluralsight

from angular-gettingstarted.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.