Katherine Heigl's priorities ''were messed up'' when she starred on 'Grey's Anatomy.'

The 35-year-old actress, who has daughters, Naleigh, five, and Adalaide, two, with husband Josh Kelley, admits trying to balance the show's demanding work schedule and motherhood made her feel ''angry and frustrated'' after she adopted her eldest child in 2009.

The 'State of Affairs' star told the September issue of Good Housekeeping magazine: ''I would come home angry and frustrated that I'd missed everything with my kid that day. I didn't get to wake her up from her nap or do bath time or bedtime. I'd have to sneak into her room and kiss her when she was sleeping, hoping not to wake her up.''

She added: ''I felt like my priorities were messed up. I was putting so much time and energy into just my work, but I was raised [to believe] that family comes first.''

Katherine decided to focus on expanding her family and relocating from Los Angeles to Utah when she left the drama series in 2010 after five seasons.

She said: ''We had big dreams of expanding our family, moving to the mountains and having a quieter life. Utah is spectacularly beautiful, the people are wonderful and kind, it's an easy commute from L.A. -- and there's no traffic!''